0026546: Configuration, genproj.tcl - add support for VS2015 in project file generator
[occt.git] / adm / templates / template.vc10
CommitLineData
910970ab 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 </PropertyGroup>
24 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
25 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
26 <ConfigurationType>DynamicLibrary</ConfigurationType>
39bff09c 27 <PlatformToolset>__VCVEREXT__</PlatformToolset>
910970ab 28 </PropertyGroup>
29 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
30 <ConfigurationType>DynamicLibrary</ConfigurationType>
39bff09c 31 <PlatformToolset>__VCVEREXT__</PlatformToolset>
910970ab 32 </PropertyGroup>
33 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
34 <ConfigurationType>DynamicLibrary</ConfigurationType>
39bff09c 35 <PlatformToolset>__VCVEREXT__</PlatformToolset>
910970ab 36 </PropertyGroup>
37 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
38 <ConfigurationType>DynamicLibrary</ConfigurationType>
39bff09c 39 <PlatformToolset>__VCVEREXT__</PlatformToolset>
910970ab 40 </PropertyGroup>
41 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
42 <ImportGroup Label="ExtensionSettings">
43 </ImportGroup>
44 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
45 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
46 </ImportGroup>
47 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
48 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
49 </ImportGroup>
50 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
51 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
52 </ImportGroup>
53 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
54 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
55 </ImportGroup>
56 <PropertyGroup Label="UserMacros" />
57 <PropertyGroup>
58 <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
39bff09c 59 <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\..\..\..\win32\__VCVER__\bin\</OutDir>
60 <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\..\..\..\win32\__VCVER__\obj\__TKNAM__\</IntDir>
910970ab 61 <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
39bff09c 62 <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\..\..\..\win32\__VCVER__\bind\</OutDir>
63 <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\..\..\..\win32\__VCVER__\objd\__TKNAM__\</IntDir>
910970ab 64 <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</LinkIncremental>
39bff09c 65 <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.\..\..\..\win64\__VCVER__\bin\</OutDir>
66 <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.\..\..\..\win64\__VCVER__\obj\__TKNAM__\</IntDir>
910970ab 67 <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental>
39bff09c 68 <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">.\..\..\..\win64\__VCVER__\bind\</OutDir>
69 <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">.\..\..\..\win64\__VCVER__\objd\__TKNAM__\</IntDir>
910970ab 70 <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</LinkIncremental>
71 </PropertyGroup>
72 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
73 <Midl>
74 <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
75 <MkTypLibCompatible>true</MkTypLibCompatible>
76 <SuppressStartupBanner>true</SuppressStartupBanner>
77 <TargetEnvironment>Win32</TargetEnvironment>
39bff09c 78 <TypeLibraryName>.\..\..\..\win32\__VCVER__\bin\__TKNAM__.tlb</TypeLibraryName>
910970ab 79 <HeaderFileName>
80 </HeaderFileName>
81 </Midl>
82 <ClCompile>
83 <AdditionalOptions>/bigobj %(AdditionalOptions)</AdditionalOptions>
84 <AdditionalIncludeDirectories>__TKINC__;$(CSF_OPT_INC);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
85 <MultiProcessorCompilation>true</MultiProcessorCompilation>
86 <Optimization>MaxSpeed</Optimization>
87 <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
88 <PreprocessorDefinitions>NDEBUG;WIN32;_WINDOWS;WNT;No_Exception;CSFDB;$(CSF_DEFINES)__TKDEFS__;%(PreprocessorDefinitions)</PreprocessorDefinitions>
89 <StringPooling>true</StringPooling>
90 <ExceptionHandling>Async</ExceptionHandling>
91 <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
92 <FunctionLevelLinking>true</FunctionLevelLinking>
39bff09c 93 <AssemblerListingLocation>.\..\..\..\win32\__VCVER__\obj\__TKNAM__/</AssemblerListingLocation>
94 <ObjectFileName>.\..\..\..\win32\__VCVER__\obj\__TKNAM__/</ObjectFileName>
95 <ProgramDataBaseFileName>.\..\..\..\win32\__VCVER__\obj\__TKNAM__/</ProgramDataBaseFileName>
910970ab 96 <WarningLevel>Level4</WarningLevel>
97 <SuppressStartupBanner>true</SuppressStartupBanner>
98 <DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
39bff09c 99 <FloatingPointModel>Precise</FloatingPointModel>__VCMPL32__
910970ab 100 </ClCompile>
101 <ResourceCompile>
102 <AdditionalIncludeDirectories>..\..\..\inc;$(CSF_OPT_INC);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
103 <PreprocessorDefinitions>NDEBUG;WIN32;_WINDOWS;WNT;No_Exception;CSFDB;$(CSF_DEFINES)__TKDEFS__;%(PreprocessorDefinitions)</PreprocessorDefinitions>
104 </ResourceCompile>
105 <Link>
106 <AdditionalDependencies>__TKDEP__;ws2_32.lib;vfw32.lib;%(AdditionalDependencies)</AdditionalDependencies>
39bff09c 107 <OutputFile>.\..\..\..\win32\__VCVER__\bin\__TKNAM__.dll</OutputFile>
910970ab 108 <SuppressStartupBanner>true</SuppressStartupBanner>
39bff09c 109 <AdditionalLibraryDirectories>..\..\..\win32\__VCVER__\lib;$(CSF_OPT_LIB32);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
110 <ProgramDatabaseFile>.\..\..\..\win32\__VCVER__\bin\__TKNAM__.pdb</ProgramDatabaseFile>
910970ab 111 <SubSystem>Console</SubSystem>
39bff09c 112 <ImportLibrary>..\..\..\win32\__VCVER__\lib\__TKNAM__.lib</ImportLibrary>
910970ab 113 </Link>
114 </ItemDefinitionGroup>
115 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
116 <Midl>
117 <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
118 <MkTypLibCompatible>true</MkTypLibCompatible>
119 <SuppressStartupBanner>true</SuppressStartupBanner>
120 <TargetEnvironment>Win32</TargetEnvironment>
39bff09c 121 <TypeLibraryName>.\..\..\..\win32\__VCVER__\bind\__TKNAM__.tlb</TypeLibraryName>
910970ab 122 <HeaderFileName>
123 </HeaderFileName>
124 </Midl>
125 <ClCompile>
1c29294e 126 <AdditionalOptions>%(AdditionalOptions)</AdditionalOptions>
910970ab 127 <AdditionalIncludeDirectories>__TKINC__;$(CSF_OPT_INC);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
128 <MultiProcessorCompilation>true</MultiProcessorCompilation>
129 <Optimization>Disabled</Optimization>
130 <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
131 <PreprocessorDefinitions>DEB;_DEBUG;WIN32;_WINDOWS;WNT;CSFDB;$(CSF_DEFINES)__TKDEFS__;%(PreprocessorDefinitions)</PreprocessorDefinitions>
132 <ExceptionHandling>Async</ExceptionHandling>
133 <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
39bff09c 134 <AssemblerListingLocation>.\..\..\..\win32\__VCVER__\objd\__TKNAM__/</AssemblerListingLocation>
135 <ObjectFileName>.\..\..\..\win32\__VCVER__\objd\__TKNAM__/</ObjectFileName>
136 <ProgramDataBaseFileName>.\..\..\..\win32\__VCVER__\objd\__TKNAM__/</ProgramDataBaseFileName>
910970ab 137 <WarningLevel>Level4</WarningLevel>
138 <SuppressStartupBanner>true</SuppressStartupBanner>
139 <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
140 <CompileAs>Default</CompileAs>
141 <DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
142 <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
39bff09c 143 <FloatingPointModel>Precise</FloatingPointModel>__VCMPL32__
910970ab 144 </ClCompile>
145 <ResourceCompile>
146 <AdditionalIncludeDirectories>..\..\..\inc;$(CSF_OPT_INC);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
147 <PreprocessorDefinitions>DEB;_DEBUG;WIN32;_WINDOWS;WNT;CSFDB;$(CSF_DEFINES)__TKDEFS__;%(PreprocessorDefinitions)</PreprocessorDefinitions>
148 </ResourceCompile>
149 <Link>
150 <AdditionalDependencies>__TKDEP__;ws2_32.lib;vfw32.lib;%(AdditionalDependencies)</AdditionalDependencies>
39bff09c 151 <OutputFile>.\..\..\..\win32\__VCVER__\bind\__TKNAM__.dll</OutputFile>
910970ab 152 <SuppressStartupBanner>true</SuppressStartupBanner>
39bff09c 153 <AdditionalLibraryDirectories>..\..\..\win32\__VCVER__\libd;$(CSF_OPT_LIB32D);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
910970ab 154 <GenerateDebugInformation>true</GenerateDebugInformation>
39bff09c 155 <ProgramDatabaseFile>..\..\..\win32\__VCVER__\bind\__TKNAM__.pdb</ProgramDatabaseFile>
910970ab 156 <SubSystem>Console</SubSystem>
39bff09c 157 <ImportLibrary>..\..\..\win32\__VCVER__\libd\__TKNAM__.lib</ImportLibrary>
910970ab 158 </Link>
159 </ItemDefinitionGroup>
160 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
161 <Midl>
162 <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
163 <MkTypLibCompatible>true</MkTypLibCompatible>
164 <SuppressStartupBanner>true</SuppressStartupBanner>
165 <TargetEnvironment>x64</TargetEnvironment>
39bff09c 166 <TypeLibraryName>.\..\..\..\win64\__VCVER__\bin\__TKNAM__.tlb</TypeLibraryName>
910970ab 167 <HeaderFileName>
168 </HeaderFileName>
169 </Midl>
170 <ClCompile>
1c29294e 171 <AdditionalOptions>%(AdditionalOptions)</AdditionalOptions>
910970ab 172 <AdditionalIncludeDirectories>__TKINC__;$(CSF_OPT_INC);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
173 <MultiProcessorCompilation>true</MultiProcessorCompilation>
174 <Optimization>MaxSpeed</Optimization>
175 <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
176 <PreprocessorDefinitions>NDEBUG;WIN64;_WINDOWS;WNT;No_Exception;CSFDB;$(CSF_DEFINES)__TKDEFS__;%(PreprocessorDefinitions)</PreprocessorDefinitions>
177 <StringPooling>true</StringPooling>
178 <ExceptionHandling>Async</ExceptionHandling>
179 <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
180 <FunctionLevelLinking>true</FunctionLevelLinking>
39bff09c 181 <AssemblerListingLocation>.\..\..\..\win64\__VCVER__\obj\__TKNAM__/</AssemblerListingLocation>
182 <ObjectFileName>.\..\..\..\win64\__VCVER__\obj\__TKNAM__/</ObjectFileName>
183 <ProgramDataBaseFileName>.\..\..\..\win64\__VCVER__\obj\__TKNAM__/</ProgramDataBaseFileName>
910970ab 184 <WarningLevel>Level4</WarningLevel>
185 <SuppressStartupBanner>true</SuppressStartupBanner>
186 <DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
39bff09c 187 <FloatingPointModel>Precise</FloatingPointModel>__VCMPL64__
910970ab 188 </ClCompile>
189 <ResourceCompile>
190 <AdditionalIncludeDirectories>..\..\..\inc;$(CSF_OPT_INC);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
191 <PreprocessorDefinitions>NDEBUG;WIN64;_WINDOWS;WNT;No_Exception;CSFDB;$(CSF_DEFINES)__TKDEFS__;%(PreprocessorDefinitions)</PreprocessorDefinitions>
192 </ResourceCompile>
193 <Link>
194 <AdditionalDependencies>__TKDEP__;ws2_32.lib;vfw32.lib;%(AdditionalDependencies)</AdditionalDependencies>
39bff09c 195 <OutputFile>.\..\..\..\win64\__VCVER__\bin\__TKNAM__.dll</OutputFile>
910970ab 196 <SuppressStartupBanner>true</SuppressStartupBanner>
39bff09c 197 <AdditionalLibraryDirectories>..\..\..\win64\__VCVER__\lib;$(CSF_OPT_LIB64);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
198 <ProgramDatabaseFile>.\..\..\..\win64\__VCVER__\bin\__TKNAM__.pdb</ProgramDatabaseFile>
910970ab 199 <SubSystem>Console</SubSystem>
39bff09c 200 <ImportLibrary>..\..\..\win64\__VCVER__\lib\__TKNAM__.lib</ImportLibrary>
910970ab 201 </Link>
202 </ItemDefinitionGroup>
203 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
204 <Midl>
205 <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
206 <MkTypLibCompatible>true</MkTypLibCompatible>
207 <SuppressStartupBanner>true</SuppressStartupBanner>
208 <TargetEnvironment>x64</TargetEnvironment>
39bff09c 209 <TypeLibraryName>.\..\..\..\win64\__VCVER__\bind\__TKNAM__.tlb</TypeLibraryName>
910970ab 210 <HeaderFileName>
211 </HeaderFileName>
212 </Midl>
213 <ClCompile>
1c29294e 214 <AdditionalOptions>%(AdditionalOptions)</AdditionalOptions>
910970ab 215 <AdditionalIncludeDirectories>__TKINC__;$(CSF_OPT_INC);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
216 <MultiProcessorCompilation>true</MultiProcessorCompilation>
217 <Optimization>Disabled</Optimization>
218 <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
219 <PreprocessorDefinitions>DEB;_DEBUG;WIN64;_WINDOWS;WNT;CSFDB;$(CSF_DEFINES)__TKDEFS__;%(PreprocessorDefinitions)</PreprocessorDefinitions>
220 <ExceptionHandling>Async</ExceptionHandling>
221 <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
39bff09c 222 <AssemblerListingLocation>.\..\..\..\win64\__VCVER__\objd\__TKNAM__/</AssemblerListingLocation>
223 <ObjectFileName>.\..\..\..\win64\__VCVER__\objd\__TKNAM__/</ObjectFileName>
224 <ProgramDataBaseFileName>.\..\..\..\win64\__VCVER__\objd\__TKNAM__/</ProgramDataBaseFileName>
910970ab 225 <WarningLevel>Level4</WarningLevel>
226 <SuppressStartupBanner>true</SuppressStartupBanner>
227 <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
228 <CompileAs>Default</CompileAs>
229 <DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
230 <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
39bff09c 231 <FloatingPointModel>Precise</FloatingPointModel>__VCMPL64__
910970ab 232 </ClCompile>
233 <ResourceCompile>
234 <AdditionalIncludeDirectories>..\..\..\inc;$(CSF_OPT_INC);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
235 <PreprocessorDefinitions>DEB;_DEBUG;WIN64;_WINDOWS;WNT;CSFDB;$(CSF_DEFINES)__TKDEFS__;%(PreprocessorDefinitions)</PreprocessorDefinitions>
236 </ResourceCompile>
237 <Link>
238 <AdditionalDependencies>__TKDEP__;ws2_32.lib;vfw32.lib;%(AdditionalDependencies)</AdditionalDependencies>
39bff09c 239 <OutputFile>.\..\..\..\win64\__VCVER__\bind\__TKNAM__.dll</OutputFile>
910970ab 240 <SuppressStartupBanner>true</SuppressStartupBanner>
39bff09c 241 <AdditionalLibraryDirectories>..\..\..\win64\__VCVER__\libd;$(CSF_OPT_LIB64D);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
910970ab 242 <GenerateDebugInformation>true</GenerateDebugInformation>
39bff09c 243 <ProgramDatabaseFile>..\..\..\win64\__VCVER__\bind\__TKNAM__.pdb</ProgramDatabaseFile>
910970ab 244 <SubSystem>Console</SubSystem>
39bff09c 245 <ImportLibrary>..\..\..\win64\__VCVER__\libd\__TKNAM__.lib</ImportLibrary>
910970ab 246 </Link>
247 </ItemDefinitionGroup>
248 <ItemGroup>
249__FILES__
250 </ItemGroup>
251 <ItemGroup>
252 <ResourceCompile Include="__TKNAM__.rc" />
253 </ItemGroup>
254 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
255 <ImportGroup Label="ExtensionTargets">
256 </ImportGroup>
257</Project>