Mark parameters as const
[TortoiseGit.git] / src / TortoiseGit.common.props
blob57245e75e0d33a36d9e9fda389e2f26b63e834c8
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   </ItemDefinitionGroup>\r
64   <ItemDefinitionGroup Condition="'$(Configuration)'=='Release'">\r
65     <ClCompile>\r
66       <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>\r
67       <InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>\r
68       <IntrinsicFunctions>true</IntrinsicFunctions>\r
69       <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>\r
70       <MultiProcessorCompilation>true</MultiProcessorCompilation>\r
71       <OmitFramePointers Condition="'$(Platform)'=='Win32'">false</OmitFramePointers>\r
72       <Optimization>MaxSpeed</Optimization>\r
73       <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
74       <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>\r
75       <StringPooling>true</StringPooling>\r
76       <WholeProgramOptimization>true</WholeProgramOptimization>\r
77       <EnableEnhancedInstructionSet Condition="'$(Platform)'=='Win32'">NoExtensions</EnableEnhancedInstructionSet>\r
78       <AdditionalOptions>/d2Zi+ %(AdditionalOptions)</AdditionalOptions>\r
79     </ClCompile>\r
80     <Lib>\r
81       <LinkTimeCodeGeneration>true</LinkTimeCodeGeneration>\r
82     </Lib>\r
83     <Link>\r
84       <EnableCOMDATFolding>true</EnableCOMDATFolding>\r
85       <LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>\r
86       <OptimizeReferences>true</OptimizeReferences>\r
87       <SetChecksum>true</SetChecksum>\r
88     </Link>\r
89     <ResourceCompile>\r
90       <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
91     </ResourceCompile>\r
92   </ItemDefinitionGroup>\r
93 </Project>\r