| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- <?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_WinBlue)'">0x0603</Win32_WinNTVersion>
- <Win32_WinNTVersion Condition="'$(NtTargetVersion)'=='$(NtTargetVersion_Win10)'">0x0A00</Win32_WinNTVersion>
- <!-- Always use Platform SDK for core builds -->
- <EventManifestXmlPath Condition="'$(TargetPlatformVersion)'=='8.1'">$(WindowsSdkDir)Include\um</EventManifestXmlPath>
- <EventManifestXmlPath Condition="'$(TargetPlatformVersion)'!='8.1'">$(WindowsSdkDir)Include\$(TargetPlatformVersion)\um</EventManifestXmlPath>
- </PropertyGroup>
- <PropertyGroup>
- <NoThrowNewLib>nothrownew.obj</NoThrowNewLib>
- </PropertyGroup>
- <PropertyGroup Condition="'$(RunCodeAnalysis)'=='' AND '$(Configuration)'=='Release'">
- <RunCodeAnalysis>$(BuildWithCodeAnalysis)</RunCodeAnalysis>
- </PropertyGroup>
- <ItemDefinitionGroup>
- <ClCompile>
- <PreprocessorDefinitions>
- %(PreprocessorDefinitions);
- _CHAKRACOREBUILD;
- _WIN32_WINNT=$(Win32_WinNTVersion);
- WINVER=$(Win32_WinNTVersion);
- WIN32_LEAN_AND_MEAN=1
- </PreprocessorDefinitions>
- <PreprocessorDefinitions Condition="'$(BuildJIT)'=='false'">
- %(PreprocessorDefinitions);
- DISABLE_JIT=1
- </PreprocessorDefinitions>
- <PreprocessorDefinitions Condition="'$(IntlICU)'=='true'">
- %(PreprocessorDefinitions);
- INTL_ICU=1
- </PreprocessorDefinitions>
- <PreprocessorDefinitions Condition="'$(ForceSWB)'=='true'">
- %(PreprocessorDefinitions);
- GLOBAL_ENABLE_WRITE_BARRIER=1
- </PreprocessorDefinitions>
- <PreprocessorDefinitions Condition="'$(NTDDIVersion)'!=''" >%(PreprocessorDefinitions);NTDDI_VERSION=$(NTDDIVersion)</PreprocessorDefinitions>
- <!-- REVIEW: These are warning are introduced when moving to VS2015 tools, may want to clean these up -->
- <DisableSpecificWarnings>
- %(DisableSpecificWarnings);
- 4458; <!-- declaration of '' hides class member -->
- 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;
- $(IntDir)..\CoreManifests;
- %(AdditionalIncludeDirectories)
- </AdditionalIncludeDirectories>
- <AdditionalIncludeDirectories Condition="'$(IntlICU)'=='true'">
- $(IcuIncludeDir)\common;
- $(IcuIncludeDir)\i18n;
- %(AdditionalIncludeDirectories)
- </AdditionalIncludeDirectories>
- </ClCompile>
- <ResourceCompile>
- <PreprocessorDefinitions>%(PreprocessorDefinitions);_CHAKRACOREBUILD</PreprocessorDefinitions>
- </ResourceCompile>
- </ItemDefinitionGroup>
- <!-- Link dependencies for projects that link with Chakra libraries -->
- <PropertyGroup>
- <ChakraCommonLinkDependencies>
- oleaut32.lib;
- version.lib
- </ChakraCommonLinkDependencies>
- <RLCommonLinkDependencies>
- kernel32.lib;
- ole32.lib
- </RLCommonLinkDependencies>
- </PropertyGroup>
- <PropertyGroup Condition="'$(DebugBuild)'=='true'">
- <ChakraCommonLinkDependencies>
- $(ChakraCommonLinkDependencies);
- dbghelp.lib;
- user32.lib
- </ChakraCommonLinkDependencies>
- </PropertyGroup>
- <Import Condition="'$(Clang)'!=''" Project="Chakra.Build.Clang.props"/>
- </Project>
|