0022651: Impossible to build OCC as static library due to using Standard_EXPORT inste...
[occt.git] / adm / templates / template.vc10x
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>__CONF__</ConfigurationType>
27     <PlatformToolset>__VCVEREXT__</PlatformToolset>
28   </PropertyGroup>
29   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
30     <ConfigurationType>__CONF__</ConfigurationType>
31     <PlatformToolset>__VCVEREXT__</PlatformToolset>
32   </PropertyGroup>
33   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
34     <ConfigurationType>__CONF__</ConfigurationType>
35     <PlatformToolset>__VCVEREXT__</PlatformToolset>
36   </PropertyGroup>
37   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
38     <ConfigurationType>__CONF__</ConfigurationType>
39     <PlatformToolset>__VCVEREXT__</PlatformToolset>
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>
59     <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\..\..\..\win32\__VCVER__\bin\</OutDir>
60     <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\..\..\..\win32\__VCVER__\obj\__XQTNAM__\</IntDir>
61     <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
62     <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\..\..\..\win32\__VCVER__\bind\</OutDir>
63     <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\..\..\..\win32\__VCVER__\objd\__XQTNAM__\</IntDir>
64     <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</LinkIncremental>
65     <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.\..\..\..\win64\__VCVER__\bin\</OutDir>
66     <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.\..\..\..\win64\__VCVER__\obj\__XQTNAM__\</IntDir>
67     <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental>
68     <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">.\..\..\..\win64\__VCVER__\bind\</OutDir>
69     <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">.\..\..\..\win64\__VCVER__\objd\__XQTNAM__\</IntDir>
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>
78       <TypeLibraryName>.\..\..\..\win32\__VCVER__\bin\__XQTNAM__.tlb</TypeLibraryName>
79       <HeaderFileName>
80       </HeaderFileName>
81     </Midl>
82     <ClCompile>
83       <AdditionalOptions>%(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;No_Exception;_CRT_SECURE_NO_WARNINGS;_CRT_NONSTDC_NO_DEPRECATE;$(CSF_DEFINES);%(PreprocessorDefinitions)</PreprocessorDefinitions>
89       <StringPooling>true</StringPooling>
90       <ExceptionHandling>Async</ExceptionHandling>
91       <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
92       <FunctionLevelLinking>true</FunctionLevelLinking>
93       <AssemblerListingLocation>.\..\..\..\win32\__VCVER__\obj\__XQTNAM__/</AssemblerListingLocation>
94       <ObjectFileName>.\..\..\..\win32\__VCVER__\obj\__XQTNAM__/</ObjectFileName>
95       <ProgramDataBaseFileName>.\..\..\..\win32\__VCVER__\obj\__XQTNAM__/</ProgramDataBaseFileName>
96       <WarningLevel>Level4</WarningLevel>
97       <SuppressStartupBanner>true</SuppressStartupBanner>
98       <DisableSpecificWarnings>%(DisableSpecificWarnings)</DisableSpecificWarnings>
99       <FloatingPointModel>Precise</FloatingPointModel>__VCMPL32__
100     </ClCompile>
101     <ResourceCompile>
102       <AdditionalIncludeDirectories>..\..\..\inc;$(CSF_OPT_INC);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
103       <PreprocessorDefinitions>NDEBUG;No_Exception;$(CSF_DEFINES);%(PreprocessorDefinitions)</PreprocessorDefinitions>
104     </ResourceCompile>
105     <Link>
106       <AdditionalDependencies>__TKDEP__;%(AdditionalDependencies)</AdditionalDependencies>
107       <SuppressStartupBanner>true</SuppressStartupBanner>
108       <AdditionalLibraryDirectories>..\..\..\win32\__VCVER__\lib;$(CSF_OPT_LIB32);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
109       <GenerateDebugInformation>__VCReleasePDB__</GenerateDebugInformation>
110       <ProgramDatabaseFile>.\..\..\..\win32\__VCVER__\bin\__XQTNAM__.pdb</ProgramDatabaseFile>
111       <SubSystem>Console</SubSystem>
112       <ImportLibrary>..\..\..\win32\__VCVER__\lib\__XQTNAM__.lib</ImportLibrary>
113       <AdditionalOptions>/LARGEADDRESSAWARE %(AdditionalOptions)</AdditionalOptions>
114       __VCLNKREL__
115     </Link>
116   </ItemDefinitionGroup>
117   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
118     <Midl>
119       <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
120       <MkTypLibCompatible>true</MkTypLibCompatible>
121       <SuppressStartupBanner>true</SuppressStartupBanner>
122       <TargetEnvironment>Win32</TargetEnvironment>
123       <TypeLibraryName>.\..\..\..\win32\__VCVER__\bind\__XQTNAM__.tlb</TypeLibraryName>
124       <HeaderFileName>
125       </HeaderFileName>
126     </Midl>
127     <ClCompile>
128       <AdditionalOptions>%(AdditionalOptions)</AdditionalOptions>
129       <AdditionalIncludeDirectories>__TKINC__;$(CSF_OPT_INC);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
130       <MultiProcessorCompilation>true</MultiProcessorCompilation>
131       <Optimization>Disabled</Optimization>
132       <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
133       <PreprocessorDefinitions>_DEBUG;_CRT_SECURE_NO_WARNINGS;_CRT_NONSTDC_NO_DEPRECATE;$(CSF_DEFINES);%(PreprocessorDefinitions)</PreprocessorDefinitions>
134       <ExceptionHandling>Async</ExceptionHandling>
135       <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
136       <AssemblerListingLocation>.\..\..\..\win32\__VCVER__\objd\__XQTNAM__/</AssemblerListingLocation>
137       <ObjectFileName>.\..\..\..\win32\__VCVER__\objd\__XQTNAM__/</ObjectFileName>
138       <ProgramDataBaseFileName>.\..\..\..\win32\__VCVER__\objd\__XQTNAM__/</ProgramDataBaseFileName>
139       <WarningLevel>Level4</WarningLevel>
140       <SuppressStartupBanner>true</SuppressStartupBanner>
141       <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
142       <CompileAs>Default</CompileAs>
143       <DisableSpecificWarnings>%(DisableSpecificWarnings)</DisableSpecificWarnings>
144       <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
145       <FloatingPointModel>Precise</FloatingPointModel>__VCMPL32__
146     </ClCompile>
147     <ResourceCompile>
148       <AdditionalIncludeDirectories>..\..\..\inc;$(CSF_OPT_INC);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
149       <PreprocessorDefinitions>_DEBUG;$(CSF_DEFINES);%(PreprocessorDefinitions)</PreprocessorDefinitions>
150     </ResourceCompile>
151     <Link>
152       <AdditionalDependencies>__TKDEP__;%(AdditionalDependencies)</AdditionalDependencies>
153       <SuppressStartupBanner>true</SuppressStartupBanner>
154       <AdditionalLibraryDirectories>..\..\..\win32\__VCVER__\libd;$(CSF_OPT_LIB32D);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
155       <GenerateDebugInformation>true</GenerateDebugInformation>
156       <ProgramDatabaseFile>..\..\..\win32\__VCVER__\bind\__XQTNAM__.pdb</ProgramDatabaseFile>
157       <SubSystem>Console</SubSystem>
158       <ImportLibrary>..\..\..\win32\__VCVER__\libd\__XQTNAM__.lib</ImportLibrary>
159       <AdditionalOptions>/LARGEADDRESSAWARE %(AdditionalOptions)</AdditionalOptions>
160     </Link>
161   </ItemDefinitionGroup>
162   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
163     <Midl>
164       <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
165       <MkTypLibCompatible>true</MkTypLibCompatible>
166       <SuppressStartupBanner>true</SuppressStartupBanner>
167       <TargetEnvironment>x64</TargetEnvironment>
168       <TypeLibraryName>.\..\..\..\win64\__VCVER__\bin\__XQTNAM__.tlb</TypeLibraryName>
169       <HeaderFileName>
170       </HeaderFileName>
171     </Midl>
172     <ClCompile>
173       <AdditionalOptions>%(AdditionalOptions)</AdditionalOptions>
174       <AdditionalIncludeDirectories>__TKINC__;$(CSF_OPT_INC);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
175       <MultiProcessorCompilation>true</MultiProcessorCompilation>
176       <Optimization>MaxSpeed</Optimization>
177       <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
178       <PreprocessorDefinitions>NDEBUG;No_Exception;_CRT_SECURE_NO_WARNINGS;_CRT_NONSTDC_NO_DEPRECATE;$(CSF_DEFINES);%(PreprocessorDefinitions)</PreprocessorDefinitions>
179       <StringPooling>true</StringPooling>
180       <ExceptionHandling>Async</ExceptionHandling>
181       <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
182       <FunctionLevelLinking>true</FunctionLevelLinking>
183       <AssemblerListingLocation>.\..\..\..\win64\__VCVER__\obj\__XQTNAM__/</AssemblerListingLocation>
184       <ObjectFileName>.\..\..\..\win64\__VCVER__\obj\__XQTNAM__/</ObjectFileName>
185       <ProgramDataBaseFileName>.\..\..\..\win64\__VCVER__\obj\__XQTNAM__/</ProgramDataBaseFileName>
186       <WarningLevel>Level4</WarningLevel>
187       <SuppressStartupBanner>true</SuppressStartupBanner>
188       <DisableSpecificWarnings>%(DisableSpecificWarnings)</DisableSpecificWarnings>
189       <FloatingPointModel>Precise</FloatingPointModel>__VCMPL64__
190     </ClCompile>
191     <ResourceCompile>
192       <AdditionalIncludeDirectories>..\..\..\inc;$(CSF_OPT_INC);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
193       <PreprocessorDefinitions>NDEBUG;No_Exception;$(CSF_DEFINES);%(PreprocessorDefinitions)</PreprocessorDefinitions>
194     </ResourceCompile>
195     <Link>
196       <AdditionalDependencies>__TKDEP__;%(AdditionalDependencies)</AdditionalDependencies>
197       <SuppressStartupBanner>true</SuppressStartupBanner>
198       <AdditionalLibraryDirectories>..\..\..\win64\__VCVER__\lib;$(CSF_OPT_LIB64);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
199       <GenerateDebugInformation>__VCReleasePDB__</GenerateDebugInformation>
200       <ProgramDatabaseFile>.\..\..\..\win64\__VCVER__\bin\__XQTNAM__.pdb</ProgramDatabaseFile>
201       <SubSystem>Console</SubSystem>
202       <ImportLibrary>..\..\..\win64\__VCVER__\lib\__XQTNAM__.lib</ImportLibrary>
203       __VCLNKREL__
204     </Link>
205   </ItemDefinitionGroup>
206   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
207     <Midl>
208       <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
209       <MkTypLibCompatible>true</MkTypLibCompatible>
210       <SuppressStartupBanner>true</SuppressStartupBanner>
211       <TargetEnvironment>x64</TargetEnvironment>
212       <TypeLibraryName>.\..\..\..\win64\__VCVER__\bind\__XQTNAM__.tlb</TypeLibraryName>
213       <HeaderFileName>
214       </HeaderFileName>
215     </Midl>
216     <ClCompile>
217       <AdditionalOptions>%(AdditionalOptions)</AdditionalOptions>
218       <AdditionalIncludeDirectories>__TKINC__;$(CSF_OPT_INC);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
219       <MultiProcessorCompilation>true</MultiProcessorCompilation>
220       <Optimization>Disabled</Optimization>
221       <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
222       <PreprocessorDefinitions>_DEBUG;_CRT_SECURE_NO_WARNINGS;_CRT_NONSTDC_NO_DEPRECATE;$(CSF_DEFINES);%(PreprocessorDefinitions)</PreprocessorDefinitions>
223       <ExceptionHandling>Async</ExceptionHandling>
224       <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
225       <AssemblerListingLocation>.\..\..\..\win64\__VCVER__\objd\__XQTNAM__/</AssemblerListingLocation>
226       <ObjectFileName>.\..\..\..\win64\__VCVER__\objd\__XQTNAM__/</ObjectFileName>
227       <ProgramDataBaseFileName>.\..\..\..\win64\__VCVER__\objd\__XQTNAM__/</ProgramDataBaseFileName>
228       <WarningLevel>Level4</WarningLevel>
229       <SuppressStartupBanner>true</SuppressStartupBanner>
230       <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
231       <CompileAs>Default</CompileAs>
232       <DisableSpecificWarnings>%(DisableSpecificWarnings)</DisableSpecificWarnings>
233       <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
234       <FloatingPointModel>Precise</FloatingPointModel>__VCMPL64__
235     </ClCompile>
236     <ResourceCompile>
237       <AdditionalIncludeDirectories>..\..\..\inc;$(CSF_OPT_INC);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
238       <PreprocessorDefinitions>_DEBUG;$(CSF_DEFINES);%(PreprocessorDefinitions)</PreprocessorDefinitions>
239     </ResourceCompile>
240     <Link>
241       <AdditionalDependencies>__TKDEP__;%(AdditionalDependencies)</AdditionalDependencies>
242       <SuppressStartupBanner>true</SuppressStartupBanner>
243       <AdditionalLibraryDirectories>..\..\..\win64\__VCVER__\libd;$(CSF_OPT_LIB64D);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
244       <GenerateDebugInformation>true</GenerateDebugInformation>
245       <ProgramDatabaseFile>..\..\..\win64\__VCVER__\bind\__XQTNAM__.pdb</ProgramDatabaseFile>
246       <SubSystem>Console</SubSystem>
247       <ImportLibrary>..\..\..\win64\__VCVER__\libd\__XQTNAM__.lib</ImportLibrary>
248     </Link>
249   </ItemDefinitionGroup>
250   <ItemGroup>
251 __FILES__  </ItemGroup>
252   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
253   <ImportGroup Label="ExtensionTargets">
254   </ImportGroup>
255 </Project>