fix building visual studio projects within a path containing white spaces

This commit is contained in:
Jens Mueller 2014-11-21 16:57:07 +01:00
parent 2ee447ff14
commit c9ef5ac2b5
4 changed files with 5 additions and 5 deletions

View File

@ -17,7 +17,7 @@
<ItemDefinitionGroup>
<PreBuildEvent>
<Command>copy $(BuildRoot)version.h $(RepoRoot)src\libsodium\include\sodium\</Command>
<Command>copy "$(BuildRoot)version.h" "$(RepoRoot)src\libsodium\include\sodium\"</Command>
</PreBuildEvent>
<ClCompile>
<AdditionalIncludeDirectories>$(RepoRoot)src\libsodium\include;$(RepoRoot)src\libsodium\include\sodium\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>

View File

@ -17,7 +17,7 @@
<ItemDefinitionGroup>
<PreBuildEvent>
<Command>copy $(BuildRoot)version.h $(RepoRoot)src\libsodium\include\sodium\</Command>
<Command>copy "$(BuildRoot)version.h" "$(RepoRoot)src\libsodium\include\sodium\"</Command>
</PreBuildEvent>
<ClCompile>
<AdditionalIncludeDirectories>$(RepoRoot)src\libsodium\include;$(RepoRoot)src\libsodium\include\sodium\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>

View File

@ -17,7 +17,7 @@
<ItemDefinitionGroup>
<PreBuildEvent>
<Command>copy $(BuildRoot)version.h $(RepoRoot)src\libsodium\include\sodium\</Command>
<Command>copy "$(BuildRoot)version.h" "$(RepoRoot)src\libsodium\include\sodium\"</Command>
</PreBuildEvent>
<ClCompile>
<AdditionalIncludeDirectories>$(RepoRoot)src\libsodium\include;$(RepoRoot)src\libsodium\include\sodium\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>

View File

@ -12,13 +12,13 @@
<PreprocessorDefinitions>inline=__inline;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
<PreBuildEvent>
<Command>$(SolutionDir)/msvc-scripts/process.bat</Command>
<Command>"$(SolutionDir)/msvc-scripts/process.bat"</Command>
</PreBuildEvent>
<PreBuildEvent>
<Message>Process .in files</Message>
</PreBuildEvent>
<PostBuildEvent>
<Command>$(SolutionDir)/test/default/wintest.bat $(Configuration) $(Platform)</Command>
<Command>"$(SolutionDir)/test/default/wintest.bat" $(Configuration) $(Platform)</Command>
</PostBuildEvent>
<PostBuildEvent>
<Message>Run the test suite</Message>