Can I have platform-specific sections in the vsprops (Property Sheet) file?

I am creating a vsprops file to contain include and lib paths that are common to all projects in my solution.

However, I have platform-specific paths for lib paths, which can be Win32 / x64. Can I set these options in a single vsprops file? Or do I need to create a different vsprops file for each platform, and then spend time with the Property Manager in visual studio to make sure that the links to them are listed?

+3
source share
2 answers

No, there seems to be no way, I created two different repository files vs.

+1
source

, - vsprops, . Visual Studio , , VS. VS cmd.exe, cmd.exe , , . :

LaunchTrunk.bat:

set VR_ROOT=C:\VR\trunk
SET ACE_ROOT=C:\VR\trunk\Imports\ACE_wrappers9
set PATH=c:\VR\trunk\source\builtcomponents\release\vrsystem;C:\VR\Patch\Imports\ACE_wrappers9\bin;%PATH%
start "devenv" /D"C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE" "C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe" /nosplash
+1

Source: https://habr.com/ru/post/1733356/


All Articles