wxWidgets/build/msw/wx_setup.props
mirh 26a58e9d48 Don't use thread-safe statics with MSVS when targeting XP
Disable thread-safe initialization for static local variables in Visual Studio
2015 when XP toolset is used as this results in crashes when using DLLs under
XP, see #13116.

Closes #17403.
2016-07-02 14:30:42 +02:00

110 lines
5.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Label="UserMacros">
<wxVersionString>311</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)'=='Itanium'">
<wxArchSuffix>_ia64</wxArchSuffix>
</PropertyGroup>
<PropertyGroup Label="UserMacros" Condition="('$(Configuration)'=='Debug' or '$(Configuration)'=='DLL Debug') and '$(CharacterSet)'=='Unicode'">
<wxSuffix>ud</wxSuffix>
</PropertyGroup>
<PropertyGroup Label="UserMacros" Condition="('$(Configuration)'=='Debug' or '$(Configuration)'=='DLL Debug') and '$(CharacterSet)'!='Unicode'">
<wxSuffix>d</wxSuffix>
</PropertyGroup>
<PropertyGroup Label="UserMacros" Condition="('$(Configuration)'=='Release' or '$(Configuration)'=='DLL Release') and '$(CharacterSet)'=='Unicode'">
<wxSuffix>u</wxSuffix>
</PropertyGroup>
<PropertyGroup Label="UserMacros" Condition="('$(Configuration)'=='Release' or '$(Configuration)'=='DLL Release') and '$(CharacterSet)'!='Unicode'">
<wxSuffix>
</wxSuffix>
</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>
</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;wsock32.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>