forked from chakra-core/ChakraCore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChakra.Build.props
57 lines (55 loc) · 3.01 KB
/
Chakra.Build.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
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="Common.Build.props"/>
<PropertyGroup>
<Win32_WinNTVersion Condition="'$(NtTargetVersion)'=='$(NtTargetVersion_Win7)'">0x0601</Win32_WinNTVersion>
<Win32_WinNTVersion Condition="'$(NtTargetVersion)'=='$(NtTargetVersion_Win8)'">0x0602</Win32_WinNTVersion>
<Win32_WinNTVersion Condition="'$(NtTargetVersion)'=='$(NtTargetVersion_Win10)'">0x0A00</Win32_WinNTVersion>
</PropertyGroup>
<PropertyGroup>
<NoThrowNewLib>nothrownew.obj</NoThrowNewLib>
</PropertyGroup>
<PropertyGroup Condition="'$(RunCodeAnalysis)'=='' AND '$(Configuration)'=='Release'">
<RunCodeAnalysis>$(BuildWithCodeAnalysis)</RunCodeAnalysis>
</PropertyGroup>
<ItemDefinitionGroup>
<ClCompile>
<PreprocessorDefinitions>
%(PreprocessorDefinitions);
_WIN32_WINNT=$(Win32_WinNTVersion);
WINVER=$(Win32_WinNTVersion);
WIN32_LEAN_AND_MEAN=1
</PreprocessorDefinitions>
<PreprocessorDefinitions Condition="'$(BuildJIT)'=='false'">
%(PreprocessorDefinitions);
DISABLE_JIT=1
</PreprocessorDefinitions>
<!-- REVIEW: These are warning are introduced when moving to VS2015 tools, may want to clean these up -->
<DisableSpecificWarnings>
%(DisableSpecificWarnings);
4456; <!-- declaration of '' hides previous local declaration -->
4457; <!-- declaration of '' hides function parameter -->
4458; <!-- declaration of '' hides class member -->
4091; <!-- '': ignore on left of 'type' when no variable is declared -->
4838; <!-- conversion from 'unsigned int' to 'int requires a narrowing conversion -->
4499; <!-- explicit specialization cannot have a storage class (ignored) -->
4463; <!-- overflow; assigning 1 to bit-field that can only hold values from -1 to 0 -->
4311; <!-- 'type cast': pointer truncation from '' to '' -->
4312; <!-- 'type cast': conversion from '' to '' of greater size -->
</DisableSpecificWarnings>
<!-- Use the debug CRT in debug build -->
<RuntimeLibrary Condition="'$(Configuration)'=='Debug' AND '$(RuntimeLib)'!='static_library'">MultiThreadedDebugDLL</RuntimeLibrary>
<RuntimeLibrary Condition="'$(Configuration)'=='Debug' AND '$(RuntimeLib)'=='static_library'">MultiThreadedDebug</RuntimeLibrary>
<AdditionalIncludeDirectories>
$(ChakraCoreRootDirectory)\lib\common\placeholder;
%(AdditionalIncludeDirectories)
</AdditionalIncludeDirectories>
<!-- ======== For Code Coverage ======== -->
<Optimization Condition="'$(ENABLE_CODECOVERAGE)'=='true'">Disabled</Optimization>
</ClCompile>
<Link>
<!-- ======== For Code Coverage ======== -->
<AdditionalOptions Condition="'$(ENABLE_CODECOVERAGE)'=='true'">%(AdditionalOptions) /DEBUGTYPE:CV,FIXUP</AdditionalOptions>
</Link>
</ItemDefinitionGroup>
</Project>