From 3b2f435363c4454505bb0619c6f0695d61ec9cc1 Mon Sep 17 00:00:00 2001 From: evoskuil Date: Sun, 11 May 2014 14:25:55 -0700 Subject: [PATCH 1/2] Remove VS custom props dependency from imports. --- builds/msvc/properties/Debug.props | 2 +- builds/msvc/properties/Messages.props | 1 - builds/msvc/properties/Output.props | 7 ++-- builds/msvc/properties/Release.props | 2 +- builds/msvc/properties/x64.props | 1 - builds/msvc/properties/x86.props | 1 - builds/msvc/vs2010/libsodium.import.props | 22 +++++++---- builds/msvc/vs2012/libsodium.import.props | 22 +++++++---- builds/msvc/vs2013/libsodium.import.props | 22 +++++++---- packaging/nuget/package.gsl | 48 +++++++++++------------ packaging/nuget/package.nuspec | 48 +++++++++++------------ 11 files changed, 96 insertions(+), 80 deletions(-) diff --git a/builds/msvc/properties/Debug.props b/builds/msvc/properties/Debug.props index 20c00343..56880de2 100644 --- a/builds/msvc/properties/Debug.props +++ b/builds/msvc/properties/Debug.props @@ -7,7 +7,7 @@ <_PropertySheetDisplayName>Debug Settings - debug + Debug diff --git a/builds/msvc/properties/Messages.props b/builds/msvc/properties/Messages.props index ff503c32..06a1ab09 100644 --- a/builds/msvc/properties/Messages.props +++ b/builds/msvc/properties/Messages.props @@ -9,7 +9,6 @@ - diff --git a/builds/msvc/properties/Output.props b/builds/msvc/properties/Output.props index 74f73a83..492876cf 100644 --- a/builds/msvc/properties/Output.props +++ b/builds/msvc/properties/Output.props @@ -3,11 +3,12 @@ <_PropertySheetDisplayName>Output Settings + $(ProjectDir)..\..\ $(ProjectDir)..\..\..\..\ - $(ProjectDir)..\..\..\..\..\ - $(RepoRoot)bin\$(Processor)\$(DebugOrRelease)\$(PlatformToolset)\$(DefaultLinkage)\ - $(RepoRoot)obj\$(TargetName)\$(Processor)\$(DebugOrRelease)\$(PlatformToolset)\$(DefaultLinkage)\ + $(ProjectDir)..\..\..\..\..\ + $(ProjectDir)..\..\..\..\bin\$(PlatformName)\$(DebugOrRelease)\$(PlatformToolset)\$(DefaultLinkage)\ + $(ProjectDir)..\..\..\..\obj\$(TargetName)\$(PlatformName)\$(DebugOrRelease)\$(PlatformToolset)\$(DefaultLinkage)\ $(OutDir) $(TargetName) $(TargetDir)$(TargetName)$(TargetExt) diff --git a/builds/msvc/properties/Release.props b/builds/msvc/properties/Release.props index 748f614a..1c5415bc 100644 --- a/builds/msvc/properties/Release.props +++ b/builds/msvc/properties/Release.props @@ -7,7 +7,7 @@ <_PropertySheetDisplayName>Release Settings - release + Release false diff --git a/builds/msvc/properties/x64.props b/builds/msvc/properties/x64.props index 90e30340..0831f69b 100644 --- a/builds/msvc/properties/x64.props +++ b/builds/msvc/properties/x64.props @@ -3,7 +3,6 @@ <_PropertySheetDisplayName>x64 Settings - x64 diff --git a/builds/msvc/properties/x86.props b/builds/msvc/properties/x86.props index 9bd8be59..f7b1df62 100644 --- a/builds/msvc/properties/x86.props +++ b/builds/msvc/properties/x86.props @@ -3,7 +3,6 @@ <_PropertySheetDisplayName>x86 Settings - x86 diff --git a/builds/msvc/vs2010/libsodium.import.props b/builds/msvc/vs2010/libsodium.import.props index 550d43ec..f101769a 100644 --- a/builds/msvc/vs2010/libsodium.import.props +++ b/builds/msvc/vs2010/libsodium.import.props @@ -15,32 +15,38 @@ - $(SourceRoot)libsodium\src\libsodium\include;$(SourceRoot)libsodium\src\libsodium\include\sodium\;%(AdditionalIncludeDirectories) + $(ProjectDir)..\..\..\..\..\libsodium\src\libsodium\include;$(ProjectDir)..\..\..\..\..\libsodium\src\libsodium\include\sodium\;%(AdditionalIncludeDirectories) SODIUM_STATIC;%(PreprocessorDefinitions) - advapi32.lib;crypt32.lib;%(AdditionalDependencies) - $(SourceRoot)libsodium\bin\$(Processor)\$(DebugOrRelease)\$(PlatformToolset)\$(Linkage-libsodium)\libsodium.lib;%(AdditionalDependencies) + advapi32.lib;crypt32.lib;libsodium.lib;%(AdditionalDependencies) + $(ProjectDir)..\..\..\..\..\libsodium\bin\$(PlatformName)\Debug\$(PlatformToolset)\$(Linkage-libsodium)\;%(AdditionalLibraryDirectories) + $(ProjectDir)..\..\..\..\..\libsodium\bin\$(PlatformName)\Release\$(PlatformToolset)\$(Linkage-libsodium)\;%(AdditionalLibraryDirectories) - - + - - + + \ No newline at end of file diff --git a/builds/msvc/vs2012/libsodium.import.props b/builds/msvc/vs2012/libsodium.import.props index 550d43ec..f101769a 100644 --- a/builds/msvc/vs2012/libsodium.import.props +++ b/builds/msvc/vs2012/libsodium.import.props @@ -15,32 +15,38 @@ - $(SourceRoot)libsodium\src\libsodium\include;$(SourceRoot)libsodium\src\libsodium\include\sodium\;%(AdditionalIncludeDirectories) + $(ProjectDir)..\..\..\..\..\libsodium\src\libsodium\include;$(ProjectDir)..\..\..\..\..\libsodium\src\libsodium\include\sodium\;%(AdditionalIncludeDirectories) SODIUM_STATIC;%(PreprocessorDefinitions) - advapi32.lib;crypt32.lib;%(AdditionalDependencies) - $(SourceRoot)libsodium\bin\$(Processor)\$(DebugOrRelease)\$(PlatformToolset)\$(Linkage-libsodium)\libsodium.lib;%(AdditionalDependencies) + advapi32.lib;crypt32.lib;libsodium.lib;%(AdditionalDependencies) + $(ProjectDir)..\..\..\..\..\libsodium\bin\$(PlatformName)\Debug\$(PlatformToolset)\$(Linkage-libsodium)\;%(AdditionalLibraryDirectories) + $(ProjectDir)..\..\..\..\..\libsodium\bin\$(PlatformName)\Release\$(PlatformToolset)\$(Linkage-libsodium)\;%(AdditionalLibraryDirectories) - - + - - + + \ No newline at end of file diff --git a/builds/msvc/vs2013/libsodium.import.props b/builds/msvc/vs2013/libsodium.import.props index 550d43ec..f101769a 100644 --- a/builds/msvc/vs2013/libsodium.import.props +++ b/builds/msvc/vs2013/libsodium.import.props @@ -15,32 +15,38 @@ - $(SourceRoot)libsodium\src\libsodium\include;$(SourceRoot)libsodium\src\libsodium\include\sodium\;%(AdditionalIncludeDirectories) + $(ProjectDir)..\..\..\..\..\libsodium\src\libsodium\include;$(ProjectDir)..\..\..\..\..\libsodium\src\libsodium\include\sodium\;%(AdditionalIncludeDirectories) SODIUM_STATIC;%(PreprocessorDefinitions) - advapi32.lib;crypt32.lib;%(AdditionalDependencies) - $(SourceRoot)libsodium\bin\$(Processor)\$(DebugOrRelease)\$(PlatformToolset)\$(Linkage-libsodium)\libsodium.lib;%(AdditionalDependencies) + advapi32.lib;crypt32.lib;libsodium.lib;%(AdditionalDependencies) + $(ProjectDir)..\..\..\..\..\libsodium\bin\$(PlatformName)\Debug\$(PlatformToolset)\$(Linkage-libsodium)\;%(AdditionalLibraryDirectories) + $(ProjectDir)..\..\..\..\..\libsodium\bin\$(PlatformName)\Release\$(PlatformToolset)\$(Linkage-libsodium)\;%(AdditionalLibraryDirectories) - - + - - + + \ No newline at end of file diff --git a/packaging/nuget/package.gsl b/packaging/nuget/package.gsl index 0295d306..a040edfb 100644 --- a/packaging/nuget/package.gsl +++ b/packaging/nuget/package.gsl @@ -46,52 +46,52 @@ - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + +