From 0e94fbb7668dce162e98a342aa5bf6412ab4cbb3 Mon Sep 17 00:00:00 2001 From: evoskuil Date: Sat, 10 May 2014 19:30:10 -0700 Subject: [PATCH] Modify VS props config for easy variation of output locations and messages. --- builds/msvc/properties/Common.props | 14 +++----- builds/msvc/properties/DebugDEXE.props | 5 --- builds/msvc/properties/DebugDLL.props | 7 +--- builds/msvc/properties/DebugLEXE.props | 5 --- builds/msvc/properties/DebugLIB.props | 5 --- builds/msvc/properties/DebugLTCG.props | 5 --- builds/msvc/properties/DebugSEXE.props | 5 --- builds/msvc/properties/EXE.props | 2 +- builds/msvc/properties/LTCG.props | 4 +-- builds/msvc/properties/Messages.props | 6 +--- builds/msvc/properties/Output.props | 17 ++++++--- builds/msvc/properties/ReleaseDEXE.props | 5 --- builds/msvc/properties/ReleaseDLL.props | 5 --- builds/msvc/properties/ReleaseLEXE.props | 5 --- builds/msvc/properties/ReleaseLIB.props | 5 --- builds/msvc/properties/ReleaseLTCG.props | 5 --- builds/msvc/properties/ReleaseSEXE.props | 5 --- .../msvc/vs2010/libsodium/libsodium.vcxproj | 36 ++++++++++++------- builds/msvc/vs2010/test/test.vcxproj | 12 +++++++ .../msvc/vs2012/libsodium/libsodium.vcxproj | 36 ++++++++++++------- builds/msvc/vs2012/test/test.vcxproj | 12 +++++++ builds/msvc/vs2013/libsodium.import.props | 14 ++++---- .../msvc/vs2013/libsodium/libsodium.vcxproj | 36 ++++++++++++------- builds/msvc/vs2013/test/test.vcxproj | 12 +++++++ 24 files changed, 136 insertions(+), 127 deletions(-) diff --git a/builds/msvc/properties/Common.props b/builds/msvc/properties/Common.props index 377e383a..73b7df1b 100644 --- a/builds/msvc/properties/Common.props +++ b/builds/msvc/properties/Common.props @@ -1,20 +1,16 @@  - - - - - <_PropertySheetDisplayName>Common Settings Unicode - $(ProjectName) - $(ProjectDir)..\..\ - $(ProjectDir)..\..\..\..\ - $(ProjectDir)..\..\..\..\..\ + + + + + true diff --git a/builds/msvc/properties/DebugDEXE.props b/builds/msvc/properties/DebugDEXE.props index 56123030..fe8b577f 100644 --- a/builds/msvc/properties/DebugDEXE.props +++ b/builds/msvc/properties/DebugDEXE.props @@ -9,7 +9,6 @@ - @@ -18,9 +17,5 @@ true - - - - \ No newline at end of file diff --git a/builds/msvc/properties/DebugDLL.props b/builds/msvc/properties/DebugDLL.props index d1cb9ffd..a451d0bf 100644 --- a/builds/msvc/properties/DebugDLL.props +++ b/builds/msvc/properties/DebugDLL.props @@ -8,7 +8,6 @@ - @@ -17,9 +16,5 @@ true - - - - - + \ No newline at end of file diff --git a/builds/msvc/properties/DebugLEXE.props b/builds/msvc/properties/DebugLEXE.props index 37c1d4b6..7fa92c03 100644 --- a/builds/msvc/properties/DebugLEXE.props +++ b/builds/msvc/properties/DebugLEXE.props @@ -9,7 +9,6 @@ - @@ -18,8 +17,4 @@ - - - - \ No newline at end of file diff --git a/builds/msvc/properties/DebugLIB.props b/builds/msvc/properties/DebugLIB.props index b64c0a60..8c7a3086 100644 --- a/builds/msvc/properties/DebugLIB.props +++ b/builds/msvc/properties/DebugLIB.props @@ -8,7 +8,6 @@ - @@ -18,8 +17,4 @@ - - - - \ No newline at end of file diff --git a/builds/msvc/properties/DebugLTCG.props b/builds/msvc/properties/DebugLTCG.props index 98b9386e..8dafd5f4 100644 --- a/builds/msvc/properties/DebugLTCG.props +++ b/builds/msvc/properties/DebugLTCG.props @@ -8,7 +8,6 @@ - @@ -17,8 +16,4 @@ - - - - \ No newline at end of file diff --git a/builds/msvc/properties/DebugSEXE.props b/builds/msvc/properties/DebugSEXE.props index 0cb03f7d..2615ffcf 100644 --- a/builds/msvc/properties/DebugSEXE.props +++ b/builds/msvc/properties/DebugSEXE.props @@ -9,7 +9,6 @@ - @@ -19,8 +18,4 @@ - - - - \ No newline at end of file diff --git a/builds/msvc/properties/EXE.props b/builds/msvc/properties/EXE.props index d24d6aae..35490645 100644 --- a/builds/msvc/properties/EXE.props +++ b/builds/msvc/properties/EXE.props @@ -3,7 +3,7 @@ <_PropertySheetDisplayName>Console Application - $(TargetName)_$(DefaultLinkage) + true diff --git a/builds/msvc/properties/LTCG.props b/builds/msvc/properties/LTCG.props index d2101129..02292938 100644 --- a/builds/msvc/properties/LTCG.props +++ b/builds/msvc/properties/LTCG.props @@ -3,10 +3,10 @@ <_PropertySheetDisplayName>Link Time Code Generation Library - $(TargetName)_ltcg - + + diff --git a/builds/msvc/properties/Messages.props b/builds/msvc/properties/Messages.props index 7bd81123..ff503c32 100644 --- a/builds/msvc/properties/Messages.props +++ b/builds/msvc/properties/Messages.props @@ -10,11 +10,7 @@ - - + \ No newline at end of file diff --git a/builds/msvc/properties/Output.props b/builds/msvc/properties/Output.props index dc28fff4..74f73a83 100644 --- a/builds/msvc/properties/Output.props +++ b/builds/msvc/properties/Output.props @@ -3,20 +3,27 @@ <_PropertySheetDisplayName>Output Settings - $(ProjectDir)..\..\..\..\obj\$(Platform)\$(Configuration)\$(PlatformToolset)\ - $(ProjectDir)..\..\..\..\bin\$(Processor)\$(DebugOrRelease)\$(PlatformToolset)\ + $(ProjectDir)..\..\ + $(ProjectDir)..\..\..\..\ + $(ProjectDir)..\..\..\..\..\ + $(RepoRoot)bin\$(Processor)\$(DebugOrRelease)\$(PlatformToolset)\$(DefaultLinkage)\ + $(RepoRoot)obj\$(TargetName)\$(Processor)\$(DebugOrRelease)\$(PlatformToolset)\$(DefaultLinkage)\ $(OutDir) + $(TargetName) $(TargetDir)$(TargetName)$(TargetExt) - true - $(TargetDir)$(TargetName)_imp.lib + $(OutDir)$(TargetName).lib - $(TargetDir)$(ProjectName)_$(DefaultLinkage).log + $(OutDir)$(TargetName).log + + + + \ No newline at end of file diff --git a/builds/msvc/properties/ReleaseDEXE.props b/builds/msvc/properties/ReleaseDEXE.props index c2d2dc1c..b89b373a 100644 --- a/builds/msvc/properties/ReleaseDEXE.props +++ b/builds/msvc/properties/ReleaseDEXE.props @@ -9,7 +9,6 @@ - @@ -18,8 +17,4 @@ - - - - \ No newline at end of file diff --git a/builds/msvc/properties/ReleaseDLL.props b/builds/msvc/properties/ReleaseDLL.props index 73f83bbd..2071b33f 100644 --- a/builds/msvc/properties/ReleaseDLL.props +++ b/builds/msvc/properties/ReleaseDLL.props @@ -8,7 +8,6 @@ - @@ -17,8 +16,4 @@ - - - - \ No newline at end of file diff --git a/builds/msvc/properties/ReleaseLEXE.props b/builds/msvc/properties/ReleaseLEXE.props index e5c51319..beb73ef2 100644 --- a/builds/msvc/properties/ReleaseLEXE.props +++ b/builds/msvc/properties/ReleaseLEXE.props @@ -9,7 +9,6 @@ - @@ -18,8 +17,4 @@ - - - - \ No newline at end of file diff --git a/builds/msvc/properties/ReleaseLIB.props b/builds/msvc/properties/ReleaseLIB.props index 2e8997b9..2b250d57 100644 --- a/builds/msvc/properties/ReleaseLIB.props +++ b/builds/msvc/properties/ReleaseLIB.props @@ -8,7 +8,6 @@ - @@ -17,8 +16,4 @@ - - - - \ No newline at end of file diff --git a/builds/msvc/properties/ReleaseLTCG.props b/builds/msvc/properties/ReleaseLTCG.props index 91380821..1814c6f3 100644 --- a/builds/msvc/properties/ReleaseLTCG.props +++ b/builds/msvc/properties/ReleaseLTCG.props @@ -8,7 +8,6 @@ - @@ -17,8 +16,4 @@ - - - - \ No newline at end of file diff --git a/builds/msvc/properties/ReleaseSEXE.props b/builds/msvc/properties/ReleaseSEXE.props index ba81ec38..2f5600a0 100644 --- a/builds/msvc/properties/ReleaseSEXE.props +++ b/builds/msvc/properties/ReleaseSEXE.props @@ -9,7 +9,6 @@ - @@ -18,8 +17,4 @@ - - - - \ No newline at end of file diff --git a/builds/msvc/vs2010/libsodium/libsodium.vcxproj b/builds/msvc/vs2010/libsodium/libsodium.vcxproj index 0bf48f5a..add11021 100644 --- a/builds/msvc/vs2010/libsodium/libsodium.vcxproj +++ b/builds/msvc/vs2010/libsodium/libsodium.vcxproj @@ -94,52 +94,64 @@ - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + diff --git a/builds/msvc/vs2010/test/test.vcxproj b/builds/msvc/vs2010/test/test.vcxproj index 11d54cd1..7532d87a 100644 --- a/builds/msvc/vs2010/test/test.vcxproj +++ b/builds/msvc/vs2010/test/test.vcxproj @@ -60,50 +60,62 @@ + + + + + + + + + + + + diff --git a/builds/msvc/vs2012/libsodium/libsodium.vcxproj b/builds/msvc/vs2012/libsodium/libsodium.vcxproj index 0e5b7fa7..26ee74ff 100644 --- a/builds/msvc/vs2012/libsodium/libsodium.vcxproj +++ b/builds/msvc/vs2012/libsodium/libsodium.vcxproj @@ -94,52 +94,64 @@ - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + diff --git a/builds/msvc/vs2012/test/test.vcxproj b/builds/msvc/vs2012/test/test.vcxproj index 740bcb28..574cda97 100644 --- a/builds/msvc/vs2012/test/test.vcxproj +++ b/builds/msvc/vs2012/test/test.vcxproj @@ -60,50 +60,62 @@ + + + + + + + + + + + + diff --git a/builds/msvc/vs2013/libsodium.import.props b/builds/msvc/vs2013/libsodium.import.props index e60ed71b..550d43ec 100644 --- a/builds/msvc/vs2013/libsodium.import.props +++ b/builds/msvc/vs2013/libsodium.import.props @@ -19,21 +19,19 @@ SODIUM_STATIC;%(PreprocessorDefinitions) - $(SourceRoot)libsodium\bin\$(Processor)\$(DebugOrRelease)\$(PlatformToolset)\;%(AdditionalLibraryDirectories) - libsodium_imp.lib;%(AdditionalDependencies) - libsodium.lib;%(AdditionalDependencies) - libsodium_ltcg.lib;%(AdditionalDependencies) + advapi32.lib;crypt32.lib;%(AdditionalDependencies) + $(SourceRoot)libsodium\bin\$(Processor)\$(DebugOrRelease)\$(PlatformToolset)\$(Linkage-libsodium)\libsodium.lib;%(AdditionalDependencies) - @@ -41,8 +39,8 @@ - - + + \ No newline at end of file diff --git a/builds/msvc/vs2013/libsodium/libsodium.vcxproj b/builds/msvc/vs2013/libsodium/libsodium.vcxproj index eec87c88..eff00e8a 100644 --- a/builds/msvc/vs2013/libsodium/libsodium.vcxproj +++ b/builds/msvc/vs2013/libsodium/libsodium.vcxproj @@ -94,52 +94,64 @@ - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + diff --git a/builds/msvc/vs2013/test/test.vcxproj b/builds/msvc/vs2013/test/test.vcxproj index e24d513e..7cfe1b5b 100644 --- a/builds/msvc/vs2013/test/test.vcxproj +++ b/builds/msvc/vs2013/test/test.vcxproj @@ -60,50 +60,62 @@ + + + + + + + + + + + +