Define wxOutDirName variables in MSVS properties file

This will be useful for allowing other projects, not necessarily located at
the same level of the file hierarchy as the projects for building the library,
to refer to the location of the libraries more easily.
This commit is contained in:
Vadim Zeitlin 2016-02-05 21:31:31 +01:00
parent 91ea487281
commit 0095e801a2

View File

@ -38,17 +38,15 @@
<wxSuffixDebug>
</wxSuffixDebug>
</PropertyGroup>
<PropertyGroup Label="UserMacros" Condition="'$(Configuration)'=='DLL Debug'">
<wxOutDir>..\..\lib\$(wxCompilerPrefix)$(wxArchSuffix)_dll$(wxCfg)\</wxOutDir>
<PropertyGroup Label="UserMacros" Condition="'$(Configuration)'=='DLL Debug' or '$(Configuration)'=='DLL Release'">
<wxLibTypeSuffix>dll</wxLibTypeSuffix>
</PropertyGroup>
<PropertyGroup Label="UserMacros" Condition="'$(Configuration)'=='DLL Release'">
<wxOutDir>..\..\lib\$(wxCompilerPrefix)$(wxArchSuffix)_dll$(wxCfg)\</wxOutDir>
<PropertyGroup Label="UserMacros" Condition="'$(Configuration)'!='DLL Debug' and '$(Configuration)'!='DLL Release'">
<wxLibTypeSuffix>lib</wxLibTypeSuffix>
</PropertyGroup>
<PropertyGroup Label="UserMacros" Condition="'$(Configuration)'=='Debug'">
<wxOutDir>..\..\lib\$(wxCompilerPrefix)$(wxArchSuffix)_lib$(wxCfg)\</wxOutDir>
</PropertyGroup>
<PropertyGroup Label="UserMacros" Condition="'$(Configuration)'=='Release'">
<wxOutDir>..\..\lib\$(wxCompilerPrefix)$(wxArchSuffix)_lib$(wxCfg)\</wxOutDir>
<PropertyGroup Label="UserMacros">
<wxOutDirName>$(wxCompilerPrefix)$(wxArchSuffix)_$(wxLibTypeSuffix)$(wxCfg)</wxOutDirName>
<wxOutDir>..\..\lib\$(wxOutDirName)\</wxOutDir>
</PropertyGroup>
<PropertyGroup Label="UserMacros" Condition="'$(Configuration)'=='DLL Debug'">
<wxIntRootDir>$(wxCompilerPrefix)$(wxArchSuffix)_$(wxToolkitPrefix)$(wxSuffix)dll\</wxIntRootDir>
@ -96,6 +94,9 @@
<BuildMacro Include="wxOutDir">
<Value>$(wxOutDir)</Value>
</BuildMacro>
<BuildMacro Include="wxOutDirName">
<Value>$(wxOutDirName)</Value>
</BuildMacro>
<BuildMacro Include="wxIntRootDir">
<Value>$(wxIntRootDir)</Value>
</BuildMacro>