Source/JavaScriptCore: [Win] Pass environment to Pre-Build, Pre-link, and Post-Build...
[WebKit-https.git] / WebKitLibraries / win / tools / vsprops / production.props
1 <?xml version="1.0" encoding="utf-8"?>
2 <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3   <ImportGroup Label="PropertySheets" />
4   <PropertyGroup Label="UserMacros">
5     <PRODUCTION>1</PRODUCTION>
6     <OFFICIAL_BUILD>1</OFFICIAL_BUILD>
7   </PropertyGroup>
8   <PropertyGroup />
9   <ItemDefinitionGroup>
10     <ClCompile>
11       <PreprocessorDefinitions>__PRODUCTION__=1;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
12     </ClCompile>
13     <ResourceCompile>
14       <PreprocessorDefinitions>__PRODUCTION__=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
15     </ResourceCompile>
16     <Midl>
17       <PreprocessorDefinitions>__PRODUCTION__=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
18     </Midl>
19     <Link>
20       <GenerateDebugInformation>true</GenerateDebugInformation>
21     </Link>
22   </ItemDefinitionGroup>
23   <ItemGroup>
24     <BuildMacro Include="PRODUCTION">
25       <Value>$(PRODUCTION)</Value>
26       <EnvironmentVariable>true</EnvironmentVariable>
27     </BuildMacro>
28     <BuildMacro Include="OFFICIAL_BUILD">
29       <Value>$(OFFICIAL_BUILD)</Value>
30       <EnvironmentVariable>true</EnvironmentVariable>
31     </BuildMacro>
32   </ItemGroup>
33 </Project>