Move GIT_REV_ZERO to GitHash.h
[TortoiseGit.git] / src / TortoiseGit.common.props
blob799d1fe4c2242e447cd5597ea764aa92a8830223
1 <?xml version="1.0" encoding="utf-8"?>\r
2 <Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">\r
3   <PropertyGroup>\r
4     <LinkIncremental Condition="'$(Configuration)'=='Debug'">true</LinkIncremental>\r
5     <LinkIncremental Condition="'$(Configuration)'=='Release'">false</LinkIncremental>\r
6     <IntDir Condition="'$(Platform)'=='Win32'">$(SolutionDir)..\obj\$(ProjectName)\$(Configuration)\</IntDir>\r
7     <OutDir Condition="'$(Platform)'=='Win32'">$(SolutionDir)..\bin\$(Configuration)\bin\</OutDir>\r
8     <IntDir Condition="'$(Platform)'=='x64'">$(SolutionDir)..\obj\$(ProjectName)\$(Configuration)64\</IntDir>\r
9     <OutDir Condition="'$(Platform)'=='x64'">$(SolutionDir)..\bin\$(Configuration)64\bin\</OutDir>\r
10   </PropertyGroup>\r
11   <ItemDefinitionGroup>\r
12     <ClCompile>\r
13       <BufferSecurityCheck>true</BufferSecurityCheck>\r
14       <ExceptionHandling>Sync</ExceptionHandling>\r
15       <FunctionLevelLinking>true</FunctionLevelLinking>\r
16       <PrecompiledHeader>Use</PrecompiledHeader>\r
17       <PrecompiledHeaderFile>stdafx.h</PrecompiledHeaderFile>\r
18       <PreprocessorDefinitions>_WINDOWS;WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
19       <PreprocessorDefinitions Condition="'$(Platform)'=='Win32'">WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
20       <PreprocessorDefinitions Condition="'$(Platform)'=='x64'">_WIN64;WIN64;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
21       <WarningLevel>Level4</WarningLevel>\r
22     </ClCompile>\r
23     <Lib>\r
24       <TargetMachine Condition="'$(Platform)'=='Win32'">MachineX86</TargetMachine>\r
25       <TargetMachine Condition="'$(Platform)'=='x64'">MachineX64</TargetMachine>\r
26     </Lib>\r
27     <Link>\r
28       <DataExecutionPrevention>true</DataExecutionPrevention>\r
29       <GenerateDebugInformation>true</GenerateDebugInformation>\r
30       <RandomizedBaseAddress>true</RandomizedBaseAddress>\r
31       <SubSystem>Windows</SubSystem>\r
32       <TargetMachine Condition="'$(Platform)'=='Win32'">MachineX86</TargetMachine>\r
33       <TargetMachine Condition="'$(Platform)'=='x64'">MachineX64</TargetMachine>\r
34     </Link>\r
35     <Midl>\r
36       <TargetEnvironment Condition="'$(Platform)'=='Win32'">Win32</TargetEnvironment>\r
37       <TargetEnvironment Condition="'$(Platform)'=='x64'">X64</TargetEnvironment>\r
38       <WarningLevel>3</WarningLevel>\r
39     </Midl>\r
40     <ResourceCompile>\r
41       <Culture>0x0409</Culture>\r
42       <PreprocessorDefinitions Condition="'$(Platform)'=='Win32'">WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
43       <PreprocessorDefinitions Condition="'$(Platform)'=='x64'">_WIN64;WIN64;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
44     </ResourceCompile>\r
45     <Manifest>\r
46       <AdditionalManifestFiles>$(SolutionDir)compatibility.manifest.xml;%(AdditionalManifestFiles)</AdditionalManifestFiles>\r
47     </Manifest>\r
48   </ItemDefinitionGroup>\r
49   <ItemDefinitionGroup Condition="'$(Configuration)'=='Debug'">\r
50     <ClCompile>\r
51       <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>\r
52       <DebugInformationFormat Condition="'$(Platform)'=='Win32'">EditAndContinue</DebugInformationFormat>\r
53       <DebugInformationFormat Condition="'$(Platform)'=='x64'">ProgramDatabase</DebugInformationFormat>\r
54       <MinimalRebuild>true</MinimalRebuild>\r
55       <Optimization>Disabled</Optimization>\r
56       <PreprocessorDefinitions>_DEBUG;DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
57       <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>\r
58       <EnableEnhancedInstructionSet Condition="'$(Platform)'=='Win32'">NoExtensions</EnableEnhancedInstructionSet>\r
59     </ClCompile>\r
60     <ResourceCompile>\r
61       <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
62     </ResourceCompile>\r
63     <Link>\r
64       <ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>\r
65     </Link>\r
66   </ItemDefinitionGroup>\r
67   <ItemDefinitionGroup Condition="'$(Configuration)'=='Release'">\r
68     <ClCompile>\r
69       <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>\r
70       <InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>\r
71       <IntrinsicFunctions>true</IntrinsicFunctions>\r
72       <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>\r
73       <MultiProcessorCompilation>true</MultiProcessorCompilation>\r
74       <OmitFramePointers Condition="'$(Platform)'=='Win32'">false</OmitFramePointers>\r
75       <Optimization>MaxSpeed</Optimization>\r
76       <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
77       <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>\r
78       <StringPooling>true</StringPooling>\r
79       <WholeProgramOptimization>true</WholeProgramOptimization>\r
80       <EnableEnhancedInstructionSet Condition="'$(Platform)'=='Win32'">NoExtensions</EnableEnhancedInstructionSet>\r
81       <AdditionalOptions>/d2Zi+ %(AdditionalOptions)</AdditionalOptions>\r
82     </ClCompile>\r
83     <Lib>\r
84       <LinkTimeCodeGeneration>true</LinkTimeCodeGeneration>\r
85     </Lib>\r
86     <Link>\r
87       <EnableCOMDATFolding>true</EnableCOMDATFolding>\r
88       <LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>\r
89       <OptimizeReferences>true</OptimizeReferences>\r
90       <SetChecksum>true</SetChecksum>\r
91     </Link>\r
92     <ResourceCompile>\r
93       <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
94     </ResourceCompile>\r
95   </ItemDefinitionGroup>\r
96 </Project>\r