-
Notifications
You must be signed in to change notification settings - Fork 0
/
Base.props
80 lines (76 loc) · 4.18 KB
/
Base.props
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<?xml version="1.0" encoding="utf-8"?>
<!-- Base settings shared by all thcrap modules and the dependencies we
- provide our own project files for. For a debug build, $(UseDebugLibraries)
- should be set to true before this file is included. Any other value,
- including none at all, will create a Release build. -->
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Label="Globals">
<Keyword>Win32Proj</Keyword>
</PropertyGroup>
<PropertyGroup>
<BitsSuffix Condition="'$(Platform)'=='x64'">_64</BitsSuffix>
<!--<DebugSuffix Condition="$(UseDebugLibraries)==true">_d</DebugSuffix>-->
<DebugSuffix Condition="'$(Configuration)'=='Debug Dynamic' Or '$(Configuration)'=='Debug Static'">_d</DebugSuffix>
<Suffix>$(BitsSuffix)$(DebugSuffix)</Suffix>
</PropertyGroup>
<PropertyGroup>
<ConfigurationType Condition="'$(Configuration)'=='Debug Dynamic'">DynamicLibrary</ConfigurationType>
<ConfigurationType Condition="'$(Configuration)'=='Release Dynamic'">DynamicLibrary</ConfigurationType>
<ConfigurationType Condition="'$(Configuration)'=='Debug Static'">StaticLibrary</ConfigurationType>
<ConfigurationType Condition="'$(Configuration)'=='Release Static'">StaticLibrary</ConfigurationType>
<UseDebugLibraries Condition="'$(Configuration)'=='Debug Dynamic'">true</UseDebugLibraries>
<UseDebugLibraries Condition="'$(Configuration)'=='Debug Static'">true</UseDebugLibraries>
<TargetName>$(RootNamespace)$(Suffix)</TargetName>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Label="Configuration">
<PlatformToolset>v141_xp</PlatformToolset>
<OutDir>$(SolutionDir)bin\</OutDir>
<IntDir>$(SolutionDir)obj\$(RootNamespace) $(Configuration) $(PlatformShortName)\</IntDir>
</PropertyGroup>
<PropertyGroup>
<!-- We know that XP support will be removed next year, we don't need 10 messages every build to remember that. -->
<XPDeprecationWarning>false</XPDeprecationWarning>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="PropertySheets">
<Import Condition="$(UseDebugLibraries)==true" Project="Debug.props" />
<Import Condition="$(UseDebugLibraries)!=true" Project="Release.props" />
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<ItemDefinitionGroup>
<ClCompile>
<AdditionalIncludeDirectories>$(ProjectDir)\include\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<ExceptionHandling>Sync</ExceptionHandling>
<FloatingPointExceptions>false</FloatingPointExceptions>
<WarningLevel>Level3</WarningLevel>
<TreatSpecificWarningsAsErrors>4013;4028;4133</TreatSpecificWarningsAsErrors>
<!-- This warning is inside shlobj.h -->
<DisableSpecificWarnings>4091;%(DisableSpecificWarnings)</DisableSpecificWarnings>
<PreprocessorDefinitions>UNICODE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalOptions>/utf-8 /Zc:__cplusplus /Zc:externConstexpr /Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>DebugFull</GenerateDebugInformation>
<AdditionalLibraryDirectories>$(OutputPath);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<AdditionalOptions>/PDBALTPATH:%_PDB% %(AdditionalOptions)</AdditionalOptions>
</Link>
<ResourceCompile>
<AdditionalIncludeDirectories>$(ProjectDir)\include\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ResourceCompile>
</ItemDefinitionGroup>
<ImportGroup Label="ExtensionSettings">
<Import Project="gas.props" />
</ImportGroup>
<ImportGroup Label="ExtensionTargets">
<Import Project="gas.targets" />
</ImportGroup>
<ImportGroup Label="PropertySheets">
<Import Project="CopyFiles.props" />
</ImportGroup>
</Project>