This property expands to either (just) "d" (even in Unicode builds) or nothing depending on whether we're building in debug or release and can be used to construct the configuration-independent names for the third party libraries, most of which use just this suffix and not wxSuffix, which expands to "ud" in (Unicode) debug build. This allows to use exactly the same link dependencies for both debug and release configurations, as demonstrated by the updated minimal MSVS project file, which is convenient when creating new projects not using wxwidgets.props, as it allows to enter the dependencies just once and use them for all build configurations instead of having to enter them separately for the debug and the release ones.
124 lines
5.8 KiB
XML
124 lines
5.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<PropertyGroup>
|
|
<_PropertySheetDisplayName>wxWidgets Setup Options</_PropertySheetDisplayName>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Label="UserMacros">
|
|
<wxVersionString>316</wxVersionString>
|
|
<wxShortVersionString>31</wxShortVersionString>
|
|
<wxToolkitPrefix>msw</wxToolkitPrefix>
|
|
<wxCompilerPrefix>vc</wxCompilerPrefix>
|
|
<wxCfg>
|
|
</wxCfg>
|
|
<wxVendor>custom</wxVendor>
|
|
</PropertyGroup>
|
|
<PropertyGroup Label="UserMacros" Condition="'$(Platform)'=='Win32'">
|
|
<wxArchSuffix>
|
|
</wxArchSuffix>
|
|
</PropertyGroup>
|
|
<PropertyGroup Label="UserMacros" Condition="'$(Platform)'=='x64'">
|
|
<wxArchSuffix>_x64</wxArchSuffix>
|
|
</PropertyGroup>
|
|
<PropertyGroup Label="UserMacros" Condition="'$(Platform)'=='ARM64'">
|
|
<wxArchSuffix>_arm64</wxArchSuffix>
|
|
</PropertyGroup>
|
|
<PropertyGroup Label="UserMacros" Condition="'$(Platform)'=='Itanium'">
|
|
<wxArchSuffix>_ia64</wxArchSuffix>
|
|
</PropertyGroup>
|
|
<PropertyGroup Label="UserMacros" Condition="('$(Configuration)'=='Debug' or '$(Configuration)'=='DLL Debug') and '$(CharacterSet)'=='Unicode'">
|
|
<wxSuffix>ud</wxSuffix>
|
|
<wxSuffixDebug>d</wxSuffixDebug>
|
|
</PropertyGroup>
|
|
<PropertyGroup Label="UserMacros" Condition="('$(Configuration)'=='Debug' or '$(Configuration)'=='DLL Debug') and '$(CharacterSet)'!='Unicode'">
|
|
<wxSuffix>d</wxSuffix>
|
|
<wxSuffixDebug>d</wxSuffixDebug>
|
|
</PropertyGroup>
|
|
<PropertyGroup Label="UserMacros" Condition="('$(Configuration)'=='Release' or '$(Configuration)'=='DLL Release') and '$(CharacterSet)'=='Unicode'">
|
|
<wxSuffix>u</wxSuffix>
|
|
<wxSuffixDebug>
|
|
</wxSuffixDebug>
|
|
</PropertyGroup>
|
|
<PropertyGroup Label="UserMacros" Condition="('$(Configuration)'=='Release' or '$(Configuration)'=='DLL Release') and '$(CharacterSet)'!='Unicode'">
|
|
<wxSuffix>
|
|
</wxSuffix>
|
|
<wxSuffixDebug>
|
|
</wxSuffixDebug>
|
|
</PropertyGroup>
|
|
<PropertyGroup Label="UserMacros" Condition="'$(Configuration)'=='Debug' or '$(Configuration)'=='DLL Debug'">
|
|
<wxSuffixDebug>d</wxSuffixDebug>
|
|
</PropertyGroup>
|
|
<PropertyGroup Label="UserMacros" Condition="'$(Configuration)'!='Debug' and '$(Configuration)'!='DLL Debug'">
|
|
<wxSuffixDebug>
|
|
</wxSuffixDebug>
|
|
</PropertyGroup>
|
|
<PropertyGroup Label="UserMacros" Condition="'$(Configuration)'=='DLL Debug' or '$(Configuration)'=='DLL Release'">
|
|
<wxLibTypeSuffix>dll</wxLibTypeSuffix>
|
|
</PropertyGroup>
|
|
<PropertyGroup Label="UserMacros" Condition="'$(Configuration)'!='DLL Debug' and '$(Configuration)'!='DLL Release'">
|
|
<wxLibTypeSuffix>lib</wxLibTypeSuffix>
|
|
</PropertyGroup>
|
|
<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>
|
|
</PropertyGroup>
|
|
<PropertyGroup Label="UserMacros" Condition="'$(Configuration)'=='DLL Release'">
|
|
<wxIntRootDir>$(wxCompilerPrefix)$(wxArchSuffix)_$(wxToolkitPrefix)$(wxSuffix)dll\</wxIntRootDir>
|
|
</PropertyGroup>
|
|
<PropertyGroup Label="UserMacros" Condition="'$(Configuration)'=='Debug'">
|
|
<wxIntRootDir>$(wxCompilerPrefix)$(wxArchSuffix)_$(wxToolkitPrefix)$(wxSuffix)\</wxIntRootDir>
|
|
</PropertyGroup>
|
|
<PropertyGroup Label="UserMacros" Condition="'$(Configuration)'=='Release'">
|
|
<wxIntRootDir>$(wxCompilerPrefix)$(wxArchSuffix)_$(wxToolkitPrefix)$(wxSuffix)\</wxIntRootDir>
|
|
</PropertyGroup>
|
|
<PropertyGroup Label="UserMacros">
|
|
<wxIncSubDir>$(wxToolkitPrefix)$(wxSuffix)</wxIncSubDir>
|
|
<wxToolkitDllNamePrefix>wx$(wxToolkitPrefix)$(wxVersionString)$(wxSuffix)_</wxToolkitDllNamePrefix>
|
|
<wxToolkitDllNameSuffix>_$(wxCompilerPrefix)$(wxArchSuffix)_$(wxVendor)</wxToolkitDllNameSuffix>
|
|
<wxToolkitLibNamePrefix>wx$(wxToolkitPrefix)$(wxShortVersionString)$(wxSuffix)_</wxToolkitLibNamePrefix>
|
|
<wxBaseDllNamePrefix>wxbase$(wxVersionString)$(wxSuffix)</wxBaseDllNamePrefix>
|
|
<wxBaseLibNamePrefix>wxbase$(wxShortVersionString)$(wxSuffix)</wxBaseLibNamePrefix>
|
|
</PropertyGroup>
|
|
<ItemDefinitionGroup>
|
|
<ClCompile>
|
|
<AdditionalOptions Condition="'$(PlatformToolset)' == 'v140_xp'">/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions>
|
|
<AdditionalOptions Condition="('$(Configuration)'=='Release' or '$(Configuration)'=='DLL Release') and '$(VisualStudioVersion)' >= '14.0'">/Zc:throwingNew %(AdditionalOptions)</AdditionalOptions>
|
|
</ClCompile>
|
|
<Link>
|
|
<AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;comdlg32.lib;winspool.lib;shell32.lib;shlwapi.lib;ole32.lib;oleaut32.lib;uuid.lib;advapi32.lib;version.lib;comctl32.lib;rpcrt4.lib;ws2_32.lib;wininet.lib;winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
|
</Link>
|
|
</ItemDefinitionGroup>
|
|
<ItemGroup>
|
|
<BuildMacro Include="wxShortVersionString">
|
|
<Value>$(wxShortVersionString)</Value>
|
|
</BuildMacro>
|
|
<BuildMacro Include="wxArchSuffix">
|
|
<Value>$(wxArchSuffix)</Value>
|
|
</BuildMacro>
|
|
<BuildMacro Include="wxToolkitPrefix">
|
|
<Value>$(wxToolkitPrefix)</Value>
|
|
</BuildMacro>
|
|
<BuildMacro Include="wxCompilerPrefix">
|
|
<Value>$(wxCompilerPrefix)</Value>
|
|
</BuildMacro>
|
|
<BuildMacro Include="wxCfg">
|
|
<Value>$(wxCfg)</Value>
|
|
</BuildMacro>
|
|
<BuildMacro Include="wxVendor">
|
|
<Value>$(wxVendor)</Value>
|
|
</BuildMacro>
|
|
<BuildMacro Include="wxOutDir">
|
|
<Value>$(wxOutDir)</Value>
|
|
</BuildMacro>
|
|
<BuildMacro Include="wxOutDirName">
|
|
<Value>$(wxOutDirName)</Value>
|
|
</BuildMacro>
|
|
<BuildMacro Include="wxIntRootDir">
|
|
<Value>$(wxIntRootDir)</Value>
|
|
</BuildMacro>
|
|
</ItemGroup>
|
|
</Project>
|