Domanda

I want to use different versions of external libraries based on solution configuration.
I have solution with multiple c++ projects and all that project include single .props with Reference, Include, Library, Source paths to external libs, etc.
It is possible to switch these paths to different based on active solution configuration ?

È stato utile?

Soluzione

You must use project configurations for that purpose, not solution configurations. Every project configuration can have different project properties, either set via .props files or in the project file itself.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top