0028312: Configuration, genproj.tcl - support CSF_ZLIB and CSF_LIBLZMA within project...
[occt.git] / adm / templates / template.vc10
1 <?xml version="1.0" encoding="utf-8"?>
2 <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3   <ItemGroup Label="ProjectConfigurations">
4     <ProjectConfiguration Include="Debug|Win32">
5       <Configuration>Debug</Configuration>
6       <Platform>Win32</Platform>
7     </ProjectConfiguration>
8     <ProjectConfiguration Include="Release|Win32">
9       <Configuration>Release</Configuration>
10       <Platform>Win32</Platform>
11     </ProjectConfiguration>
12     <ProjectConfiguration Include="Debug|x64">
13       <Configuration>Debug</Configuration>
14       <Platform>x64</Platform>
15     </ProjectConfiguration>
16     <ProjectConfiguration Include="Release|x64">
17       <Configuration>Release</Configuration>
18       <Platform>x64</Platform>
19     </ProjectConfiguration>
20   </ItemGroup>
21   <PropertyGroup Label="Globals">
22     <ProjectGuid>__PROJECT_GUID__</ProjectGuid>
23     __UWP_PROPERTIES__
24   </PropertyGroup>
25   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
26   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
27     <ConfigurationType>DynamicLibrary</ConfigurationType>
28     <PlatformToolset>__VCVEREXT__</PlatformToolset>
29     <CharacterSet>__VCCHARSET__</CharacterSet>
30   </PropertyGroup>
31   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
32     <ConfigurationType>DynamicLibrary</ConfigurationType>
33     <PlatformToolset>__VCVEREXT__</PlatformToolset>
34     <CharacterSet>__VCCHARSET__</CharacterSet>
35   </PropertyGroup>
36   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
37     <ConfigurationType>DynamicLibrary</ConfigurationType>
38     <PlatformToolset>__VCVEREXT__</PlatformToolset>
39     <CharacterSet>__VCCHARSET__</CharacterSet>
40   </PropertyGroup>
41   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
42     <ConfigurationType>DynamicLibrary</ConfigurationType>
43     <PlatformToolset>__VCVEREXT__</PlatformToolset>
44     <CharacterSet>__VCCHARSET__</CharacterSet>
45   </PropertyGroup>
46   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
47   <ImportGroup Label="ExtensionSettings">
48   </ImportGroup>
49   <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
50     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
51   </ImportGroup>
52   <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
53     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
54   </ImportGroup>
55   <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
56     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
57   </ImportGroup>
58   <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
59     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
60   </ImportGroup>
61   <PropertyGroup Label="UserMacros" />
62   <PropertyGroup>
63     <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
64     <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\..\..\..\win32\__VCVER__\bin\</OutDir>
65     <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\..\..\..\win32\__VCVER__\obj\__TKNAM__\</IntDir>
66     <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
67     <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\..\..\..\win32\__VCVER__\bind\</OutDir>
68     <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\..\..\..\win32\__VCVER__\objd\__TKNAM__\</IntDir>
69     <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</LinkIncremental>
70     <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.\..\..\..\win64\__VCVER__\bin\</OutDir>
71     <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.\..\..\..\win64\__VCVER__\obj\__TKNAM__\</IntDir>
72     <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental>
73     <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">.\..\..\..\win64\__VCVER__\bind\</OutDir>
74     <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">.\..\..\..\win64\__VCVER__\objd\__TKNAM__\</IntDir>
75     <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</LinkIncremental>
76   </PropertyGroup>
77   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
78     <Midl>
79       <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
80       <MkTypLibCompatible>true</MkTypLibCompatible>
81       <SuppressStartupBanner>true</SuppressStartupBanner>
82       <TargetEnvironment>Win32</TargetEnvironment>
83       <TypeLibraryName>.\..\..\..\win32\__VCVER__\bin\__TKNAM__.tlb</TypeLibraryName>
84       <HeaderFileName>
85       </HeaderFileName>
86     </Midl>
87     <ClCompile>
88       <AdditionalOptions>/bigobj %(AdditionalOptions)</AdditionalOptions>
89       <AdditionalIncludeDirectories>__TKINC__;$(CSF_OPT_INC);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
90       <MultiProcessorCompilation>true</MultiProcessorCompilation>
91       <Optimization>MaxSpeed</Optimization>
92       <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
93       <PreprocessorDefinitions>NDEBUG;No_Exception;_CRT_SECURE_NO_WARNINGS;_CRT_NONSTDC_NO_DEPRECATE;$(CSF_DEFINES)__TKDEFS__;%(PreprocessorDefinitions)</PreprocessorDefinitions>
94       <StringPooling>true</StringPooling>
95       <ExceptionHandling>Async</ExceptionHandling>
96       <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
97       <FunctionLevelLinking>true</FunctionLevelLinking>
98       <AssemblerListingLocation>.\..\..\..\win32\__VCVER__\obj\__TKNAM__/</AssemblerListingLocation>
99       <ObjectFileName>.\..\..\..\win32\__VCVER__\obj\__TKNAM__/</ObjectFileName>
100       <ProgramDataBaseFileName>.\..\..\..\win32\__VCVER__\obj\__TKNAM__/</ProgramDataBaseFileName>
101       <WarningLevel>Level4</WarningLevel>
102       <SuppressStartupBanner>true</SuppressStartupBanner>
103       <DisableSpecificWarnings>%(DisableSpecificWarnings)</DisableSpecificWarnings>
104       <FloatingPointModel>Precise</FloatingPointModel>
105       <PrecompiledHeader>NotUsing</PrecompiledHeader>
106       __VCMPL32__
107     </ClCompile>
108     <ResourceCompile>
109       <AdditionalIncludeDirectories>..\..\..\inc;$(CSF_OPT_INC);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
110       <PreprocessorDefinitions>NDEBUG;No_Exception;$(CSF_DEFINES)__TKDEFS__;%(PreprocessorDefinitions)</PreprocessorDefinitions>
111     </ResourceCompile>
112     <Link>
113       <AdditionalDependencies>__TKDEP__;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
114       <OutputFile>.\..\..\..\win32\__VCVER__\bin\__TKNAM__.dll</OutputFile>
115       <SuppressStartupBanner>true</SuppressStartupBanner>
116       <AdditionalLibraryDirectories>..\..\..\win32\__VCVER__\lib;$(CSF_OPT_LIB32);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
117       <GenerateDebugInformation>No</GenerateDebugInformation>
118       <ProgramDatabaseFile>.\..\..\..\win32\__VCVER__\bin\__TKNAM__.pdb</ProgramDatabaseFile>
119       <SubSystem>Console</SubSystem>
120       <ImportLibrary>..\..\..\win32\__VCVER__\lib\__TKNAM__.lib</ImportLibrary>
121       __UWP_GENERATE_METADATA__
122     </Link>
123   </ItemDefinitionGroup>
124   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
125     <Midl>
126       <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
127       <MkTypLibCompatible>true</MkTypLibCompatible>
128       <SuppressStartupBanner>true</SuppressStartupBanner>
129       <TargetEnvironment>Win32</TargetEnvironment>
130       <TypeLibraryName>.\..\..\..\win32\__VCVER__\bind\__TKNAM__.tlb</TypeLibraryName>
131       <HeaderFileName>
132       </HeaderFileName>
133     </Midl>
134     <ClCompile>
135       <AdditionalOptions>%(AdditionalOptions)</AdditionalOptions>
136       <AdditionalIncludeDirectories>__TKINC__;$(CSF_OPT_INC);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
137       <MultiProcessorCompilation>true</MultiProcessorCompilation>
138       <Optimization>Disabled</Optimization>
139       <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
140       <PreprocessorDefinitions>_DEBUG;_CRT_SECURE_NO_WARNINGS;_CRT_NONSTDC_NO_DEPRECATE;$(CSF_DEFINES)__TKDEFS__;%(PreprocessorDefinitions)</PreprocessorDefinitions>
141       <ExceptionHandling>Async</ExceptionHandling>
142       <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
143       <AssemblerListingLocation>.\..\..\..\win32\__VCVER__\objd\__TKNAM__/</AssemblerListingLocation>
144       <ObjectFileName>.\..\..\..\win32\__VCVER__\objd\__TKNAM__/</ObjectFileName>
145       <ProgramDataBaseFileName>.\..\..\..\win32\__VCVER__\objd\__TKNAM__/</ProgramDataBaseFileName>
146       <WarningLevel>Level4</WarningLevel>
147       <SuppressStartupBanner>true</SuppressStartupBanner>
148       <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
149       <CompileAs>Default</CompileAs>
150       <DisableSpecificWarnings>%(DisableSpecificWarnings)</DisableSpecificWarnings>
151       <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
152       <FloatingPointModel>Precise</FloatingPointModel>
153       <PrecompiledHeader>NotUsing</PrecompiledHeader>
154       __VCMPL32__
155     </ClCompile>
156     <ResourceCompile>
157       <AdditionalIncludeDirectories>..\..\..\inc;$(CSF_OPT_INC);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
158       <PreprocessorDefinitions>_DEBUG;$(CSF_DEFINES)__TKDEFS__;%(PreprocessorDefinitions)</PreprocessorDefinitions>
159     </ResourceCompile>
160     <Link>
161       <AdditionalDependencies>__TKDEP__;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
162       <OutputFile>.\..\..\..\win32\__VCVER__\bind\__TKNAM__.dll</OutputFile>
163       <SuppressStartupBanner>true</SuppressStartupBanner>
164       <AdditionalLibraryDirectories>..\..\..\win32\__VCVER__\libd;$(CSF_OPT_LIB32D);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
165       <GenerateDebugInformation>true</GenerateDebugInformation>
166       <ProgramDatabaseFile>..\..\..\win32\__VCVER__\bind\__TKNAM__.pdb</ProgramDatabaseFile>
167       <SubSystem>Console</SubSystem>
168       <ImportLibrary>..\..\..\win32\__VCVER__\libd\__TKNAM__.lib</ImportLibrary>
169       __UWP_GENERATE_METADATA__
170     </Link>
171   </ItemDefinitionGroup>
172   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
173     <Midl>
174       <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
175       <MkTypLibCompatible>true</MkTypLibCompatible>
176       <SuppressStartupBanner>true</SuppressStartupBanner>
177       <TargetEnvironment>x64</TargetEnvironment>
178       <TypeLibraryName>.\..\..\..\win64\__VCVER__\bin\__TKNAM__.tlb</TypeLibraryName>
179       <HeaderFileName>
180       </HeaderFileName>
181     </Midl>
182     <ClCompile>
183       <AdditionalOptions>%(AdditionalOptions)</AdditionalOptions>
184       <AdditionalIncludeDirectories>__TKINC__;$(CSF_OPT_INC);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
185       <MultiProcessorCompilation>true</MultiProcessorCompilation>
186       <Optimization>MaxSpeed</Optimization>
187       <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
188       <PreprocessorDefinitions>NDEBUG;No_Exception;_CRT_SECURE_NO_WARNINGS;_CRT_NONSTDC_NO_DEPRECATE;$(CSF_DEFINES)__TKDEFS__;%(PreprocessorDefinitions)</PreprocessorDefinitions>
189       <StringPooling>true</StringPooling>
190       <ExceptionHandling>Async</ExceptionHandling>
191       <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
192       <FunctionLevelLinking>true</FunctionLevelLinking>
193       <AssemblerListingLocation>.\..\..\..\win64\__VCVER__\obj\__TKNAM__/</AssemblerListingLocation>
194       <ObjectFileName>.\..\..\..\win64\__VCVER__\obj\__TKNAM__/</ObjectFileName>
195       <ProgramDataBaseFileName>.\..\..\..\win64\__VCVER__\obj\__TKNAM__/</ProgramDataBaseFileName>
196       <WarningLevel>Level4</WarningLevel>
197       <SuppressStartupBanner>true</SuppressStartupBanner>
198       <DisableSpecificWarnings>%(DisableSpecificWarnings)</DisableSpecificWarnings>
199       <FloatingPointModel>Precise</FloatingPointModel>
200       <PrecompiledHeader>NotUsing</PrecompiledHeader>
201       __VCMPL64__
202     </ClCompile>
203     <ResourceCompile>
204       <AdditionalIncludeDirectories>..\..\..\inc;$(CSF_OPT_INC);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
205       <PreprocessorDefinitions>NDEBUG;No_Exception;$(CSF_DEFINES)__TKDEFS__;%(PreprocessorDefinitions)</PreprocessorDefinitions>
206     </ResourceCompile>
207     <Link>
208       <AdditionalDependencies>__TKDEP__;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
209       <OutputFile>.\..\..\..\win64\__VCVER__\bin\__TKNAM__.dll</OutputFile>
210       <SuppressStartupBanner>true</SuppressStartupBanner>
211       <AdditionalLibraryDirectories>..\..\..\win64\__VCVER__\lib;$(CSF_OPT_LIB64);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
212       <GenerateDebugInformation>No</GenerateDebugInformation>
213       <ProgramDatabaseFile>.\..\..\..\win64\__VCVER__\bin\__TKNAM__.pdb</ProgramDatabaseFile>
214       <SubSystem>Console</SubSystem>
215       <ImportLibrary>..\..\..\win64\__VCVER__\lib\__TKNAM__.lib</ImportLibrary>
216       __UWP_GENERATE_METADATA__
217     </Link>
218   </ItemDefinitionGroup>
219   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
220     <Midl>
221       <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
222       <MkTypLibCompatible>true</MkTypLibCompatible>
223       <SuppressStartupBanner>true</SuppressStartupBanner>
224       <TargetEnvironment>x64</TargetEnvironment>
225       <TypeLibraryName>.\..\..\..\win64\__VCVER__\bind\__TKNAM__.tlb</TypeLibraryName>
226       <HeaderFileName>
227       </HeaderFileName>
228     </Midl>
229     <ClCompile>
230       <AdditionalOptions>%(AdditionalOptions)</AdditionalOptions>
231       <AdditionalIncludeDirectories>__TKINC__;$(CSF_OPT_INC);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
232       <MultiProcessorCompilation>true</MultiProcessorCompilation>
233       <Optimization>Disabled</Optimization>
234       <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
235       <PreprocessorDefinitions>_DEBUG;_CRT_SECURE_NO_WARNINGS;_CRT_NONSTDC_NO_DEPRECATE;$(CSF_DEFINES)__TKDEFS__;%(PreprocessorDefinitions)</PreprocessorDefinitions>
236       <ExceptionHandling>Async</ExceptionHandling>
237       <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
238       <AssemblerListingLocation>.\..\..\..\win64\__VCVER__\objd\__TKNAM__/</AssemblerListingLocation>
239       <ObjectFileName>.\..\..\..\win64\__VCVER__\objd\__TKNAM__/</ObjectFileName>
240       <ProgramDataBaseFileName>.\..\..\..\win64\__VCVER__\objd\__TKNAM__/</ProgramDataBaseFileName>
241       <WarningLevel>Level4</WarningLevel>
242       <SuppressStartupBanner>true</SuppressStartupBanner>
243       <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
244       <CompileAs>Default</CompileAs>
245       <DisableSpecificWarnings>%(DisableSpecificWarnings)</DisableSpecificWarnings>
246       <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
247       <FloatingPointModel>Precise</FloatingPointModel>
248       <PrecompiledHeader>NotUsing</PrecompiledHeader>
249       __VCMPL64__
250     </ClCompile>
251     <ResourceCompile>
252       <AdditionalIncludeDirectories>..\..\..\inc;$(CSF_OPT_INC);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
253       <PreprocessorDefinitions>_DEBUG;$(CSF_DEFINES)__TKDEFS__;%(PreprocessorDefinitions)</PreprocessorDefinitions>
254     </ResourceCompile>
255     <Link>
256       <AdditionalDependencies>__TKDEP__;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
257       <OutputFile>.\..\..\..\win64\__VCVER__\bind\__TKNAM__.dll</OutputFile>
258       <SuppressStartupBanner>true</SuppressStartupBanner>
259       <AdditionalLibraryDirectories>..\..\..\win64\__VCVER__\libd;$(CSF_OPT_LIB64D);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
260       <GenerateDebugInformation>true</GenerateDebugInformation>
261       <ProgramDatabaseFile>..\..\..\win64\__VCVER__\bind\__TKNAM__.pdb</ProgramDatabaseFile>
262       <SubSystem>Console</SubSystem>
263       <ImportLibrary>..\..\..\win64\__VCVER__\libd\__TKNAM__.lib</ImportLibrary>
264       __UWP_GENERATE_METADATA__
265     </Link>
266   </ItemDefinitionGroup>
267   <ItemGroup>
268 __FILES__
269   </ItemGroup>
270   <ItemGroup>
271     <ResourceCompile Include="__TKNAM__.rc" />
272   </ItemGroup>
273   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
274   <ImportGroup Label="ExtensionTargets">
275   </ImportGroup>
276 </Project>