forked from AutoHotkey/AutoHotkey
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Config.vcxproj
115 lines (99 loc) · 5.01 KB
/
Config.vcxproj
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<!-- flags to make things easier -->
<ConfigRelease>false</ConfigRelease>
<ConfigDebug>false</ConfigDebug>
<ConfigSC>false</ConfigSC>
<ConfigMinSize>false</ConfigMinSize>
<ConfigDll>false</ConfigDll>
<ConfigRelease Condition="$(Configuration.Contains('Release'))">true</ConfigRelease>
<ConfigDebug Condition="$(Configuration.Contains('ebug'))">true</ConfigDebug>
<ConfigSC Condition="$(Configuration.Contains('Self-contained'))">true</ConfigSC>
<ConfigDll Condition="$(Configuration.Contains('.dll'))">true</ConfigDll>
<!-- CharacterSet may be set on command-line:
MSBuild AutoHotkeyx.sln /p:Configuration=Release;CharacterSet=MultiByte -->
<CharacterSet>Unicode</CharacterSet>
<!-- Set default for '(mbcs)' configurations. Can also be overridden on command-line, but that wouldn't make sense. -->
<CharacterSet Condition="$(Configuration.Contains('mbcs'))">MultiByte</CharacterSet>
<!-- global setting -->
<WholeProgramOptimization Condition="!$(ConfigDebug)">true</WholeProgramOptimization>
<GenerateManifest>false</GenerateManifest>
</PropertyGroup>
<ItemDefinitionGroup>
<ClCompile>
<!-- pre-processor definition: NDEBUG/_DEBUG -->
<PreprocessorDefinitions Condition="!$(ConfigDebug)">NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions Condition=" $(ConfigDebug)">_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<!-- global setting -->
<FunctionLevelLinking>true</FunctionLevelLinking>
<WarningLevel>Level3</WarningLevel>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<!-- default -->
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
</ClCompile>
</ItemDefinitionGroup>
<!-- misc optimizations -->
<ItemDefinitionGroup Condition="!$(ConfigDebug)">
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<OmitFramePointers>true</OmitFramePointers>
<StringPooling>true</StringPooling>
<ExceptionHandling></ExceptionHandling>
<BufferSecurityCheck>false</BufferSecurityCheck>
<AdditionalOptions Condition="$(PlatformToolsetVersion) >= 140">/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
<Link> <!-- note linker settings don't apply to lib_pcre -->
<GenerateDebugInformation>false</GenerateDebugInformation>
<ProgramDatabaseFile></ProgramDatabaseFile>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<!-- Disable this for now since numerous function signatures differ in Unicode vs ANSI builds.
<FunctionOrder>source\misc\function_order_for_linker_optimization.txt</FunctionOrder>
below: /IGNORE:4037
-->
<AdditionalOptions>/SAFESEH:NO %(AdditionalOptions)</AdditionalOptions>
</Link>
</ItemDefinitionGroup>
<PropertyGroup>
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<!-- minimum size: dynamically-linked crt, favor size over speed -->
<ItemDefinitionGroup Condition="$(ConfigMinSize)">
<ClCompile>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<Optimization>MinSpace</Optimization>
</ClCompile>
<Link>
<IgnoreSpecificDefaultLibraries>libcmt;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
</Link>
</ItemDefinitionGroup>
<!-- debug settings, defined last to override things set above -->
<ItemDefinitionGroup Condition="$(ConfigDebug)">
<ClCompile>
<Optimization>Disabled</Optimization>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
</ClCompile>
<Link> <!-- note linker settings don't apply to lib_pcre -->
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<!-- import standard defaults -->
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup>
<!-- DefaultPlatformToolset contains the toolset of the current VS in 2012+ -->
<PlatformToolset Condition="'$(DefaultPlatformToolset)' != ''">$(DefaultPlatformToolset)</PlatformToolset>
<PlatformToolset Condition="Exists('$(VCTargetsPath)\Platforms\$(Platform)\PlatformToolsets\$(PlatformToolset)_xp')">$(PlatformToolset)_xp</PlatformToolset>
</PropertyGroup>
<PropertyGroup>
<!-- Disable the upgrade prompt when first opening the project. -->
<VCProjectUpgraderObjectName>NoUpgrade</VCProjectUpgraderObjectName>
</PropertyGroup>
<!-- import essential stuff -->
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" />
</ImportGroup>
</Project>