0022651: Impossible to build OCC as static library due to using Standard_EXPORT inste...
[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);%(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);%(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>__VCReleasePDB__</GenerateDebugInformation>
118       <ProgramDatabaseFile>.\..\..\..\win32\__VCVER__\bin\__TKNAM__.pdb</ProgramDatabaseFile>
119       <SubSystem>Console</SubSystem>
120       <ImportLibrary>..\..\..\win32\__VCVER__\lib\__TKNAM__.lib</ImportLibrary>
121       __VCLNKREL__
122       __UWP_GENERATE_METADATA__
123     </Link>
124   </ItemDefinitionGroup>
125   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
126     <Midl>
127       <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
128       <MkTypLibCompatible>true</MkTypLibCompatible>
129       <SuppressStartupBanner>true</SuppressStartupBanner>
130       <TargetEnvironment>Win32</TargetEnvironment>
131       <TypeLibraryName>.\..\..\..\win32\__VCVER__\bind\__TKNAM__.tlb</TypeLibraryName>
132       <HeaderFileName>
133       </HeaderFileName>
134     </Midl>
135     <ClCompile>
136       <AdditionalOptions>%(AdditionalOptions)</AdditionalOptions>
137       <AdditionalIncludeDirectories>__TKINC__;$(CSF_OPT_INC);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
138       <MultiProcessorCompilation>true</MultiProcessorCompilation>
139       <Optimization>Disabled</Optimization>
140       <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
141       <PreprocessorDefinitions>_DEBUG;_CRT_SECURE_NO_WARNINGS;_CRT_NONSTDC_NO_DEPRECATE;$(CSF_DEFINES);%(PreprocessorDefinitions)</PreprocessorDefinitions>
142       <ExceptionHandling>Async</ExceptionHandling>
143       <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
144       <AssemblerListingLocation>.\..\..\..\win32\__VCVER__\objd\__TKNAM__/</AssemblerListingLocation>
145       <ObjectFileName>.\..\..\..\win32\__VCVER__\objd\__TKNAM__/</ObjectFileName>
146       <ProgramDataBaseFileName>.\..\..\..\win32\__VCVER__\objd\__TKNAM__/</ProgramDataBaseFileName>
147       <WarningLevel>Level4</WarningLevel>
148       <SuppressStartupBanner>true</SuppressStartupBanner>
149       <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
150       <CompileAs>Default</CompileAs>
151       <DisableSpecificWarnings>%(DisableSpecificWarnings)</DisableSpecificWarnings>
152       <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
153       <FloatingPointModel>Precise</FloatingPointModel>
154       <PrecompiledHeader>NotUsing</PrecompiledHeader>
155       __VCMPL32__
156     </ClCompile>
157     <ResourceCompile>
158       <AdditionalIncludeDirectories>..\..\..\inc;$(CSF_OPT_INC);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
159       <PreprocessorDefinitions>_DEBUG;$(CSF_DEFINES);%(PreprocessorDefinitions)</PreprocessorDefinitions>
160     </ResourceCompile>
161     <Link>
162       <AdditionalDependencies>__TKDEP__;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
163       <OutputFile>.\..\..\..\win32\__VCVER__\bind\__TKNAM__.dll</OutputFile>
164       <SuppressStartupBanner>true</SuppressStartupBanner>
165       <AdditionalLibraryDirectories>..\..\..\win32\__VCVER__\libd;$(CSF_OPT_LIB32D);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
166       <GenerateDebugInformation>true</GenerateDebugInformation>
167       <ProgramDatabaseFile>..\..\..\win32\__VCVER__\bind\__TKNAM__.pdb</ProgramDatabaseFile>
168       <SubSystem>Console</SubSystem>
169       <ImportLibrary>..\..\..\win32\__VCVER__\libd\__TKNAM__.lib</ImportLibrary>
170       __UWP_GENERATE_METADATA__
171     </Link>
172   </ItemDefinitionGroup>
173   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
174     <Midl>
175       <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
176       <MkTypLibCompatible>true</MkTypLibCompatible>
177       <SuppressStartupBanner>true</SuppressStartupBanner>
178       <TargetEnvironment>x64</TargetEnvironment>
179       <TypeLibraryName>.\..\..\..\win64\__VCVER__\bin\__TKNAM__.tlb</TypeLibraryName>
180       <HeaderFileName>
181       </HeaderFileName>
182     </Midl>
183     <ClCompile>
184       <AdditionalOptions>%(AdditionalOptions)</AdditionalOptions>
185       <AdditionalIncludeDirectories>__TKINC__;$(CSF_OPT_INC);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
186       <MultiProcessorCompilation>true</MultiProcessorCompilation>
187       <Optimization>MaxSpeed</Optimization>
188       <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
189       <PreprocessorDefinitions>NDEBUG;No_Exception;_CRT_SECURE_NO_WARNINGS;_CRT_NONSTDC_NO_DEPRECATE;$(CSF_DEFINES);%(PreprocessorDefinitions)</PreprocessorDefinitions>
190       <StringPooling>true</StringPooling>
191       <ExceptionHandling>Async</ExceptionHandling>
192       <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
193       <FunctionLevelLinking>true</FunctionLevelLinking>
194       <AssemblerListingLocation>.\..\..\..\win64\__VCVER__\obj\__TKNAM__/</AssemblerListingLocation>
195       <ObjectFileName>.\..\..\..\win64\__VCVER__\obj\__TKNAM__/</ObjectFileName>
196       <ProgramDataBaseFileName>.\..\..\..\win64\__VCVER__\obj\__TKNAM__/</ProgramDataBaseFileName>
197       <WarningLevel>Level4</WarningLevel>
198       <SuppressStartupBanner>true</SuppressStartupBanner>
199       <DisableSpecificWarnings>%(DisableSpecificWarnings)</DisableSpecificWarnings>
200       <FloatingPointModel>Precise</FloatingPointModel>
201       <PrecompiledHeader>NotUsing</PrecompiledHeader>
202       __VCMPL64__
203     </ClCompile>
204     <ResourceCompile>
205       <AdditionalIncludeDirectories>..\..\..\inc;$(CSF_OPT_INC);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
206       <PreprocessorDefinitions>NDEBUG;No_Exception;$(CSF_DEFINES);%(PreprocessorDefinitions)</PreprocessorDefinitions>
207     </ResourceCompile>
208     <Link>
209       <AdditionalDependencies>__TKDEP__;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
210       <OutputFile>.\..\..\..\win64\__VCVER__\bin\__TKNAM__.dll</OutputFile>
211       <SuppressStartupBanner>true</SuppressStartupBanner>
212       <AdditionalLibraryDirectories>..\..\..\win64\__VCVER__\lib;$(CSF_OPT_LIB64);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
213       <GenerateDebugInformation>__VCReleasePDB__</GenerateDebugInformation>
214       <ProgramDatabaseFile>.\..\..\..\win64\__VCVER__\bin\__TKNAM__.pdb</ProgramDatabaseFile>
215       <SubSystem>Console</SubSystem>
216       <ImportLibrary>..\..\..\win64\__VCVER__\lib\__TKNAM__.lib</ImportLibrary>
217       __VCLNKREL__
218       __UWP_GENERATE_METADATA__
219     </Link>
220   </ItemDefinitionGroup>
221   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
222     <Midl>
223       <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
224       <MkTypLibCompatible>true</MkTypLibCompatible>
225       <SuppressStartupBanner>true</SuppressStartupBanner>
226       <TargetEnvironment>x64</TargetEnvironment>
227       <TypeLibraryName>.\..\..\..\win64\__VCVER__\bind\__TKNAM__.tlb</TypeLibraryName>
228       <HeaderFileName>
229       </HeaderFileName>
230     </Midl>
231     <ClCompile>
232       <AdditionalOptions>%(AdditionalOptions)</AdditionalOptions>
233       <AdditionalIncludeDirectories>__TKINC__;$(CSF_OPT_INC);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
234       <MultiProcessorCompilation>true</MultiProcessorCompilation>
235       <Optimization>Disabled</Optimization>
236       <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
237       <PreprocessorDefinitions>_DEBUG;_CRT_SECURE_NO_WARNINGS;_CRT_NONSTDC_NO_DEPRECATE;$(CSF_DEFINES);%(PreprocessorDefinitions)</PreprocessorDefinitions>
238       <ExceptionHandling>Async</ExceptionHandling>
239       <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
240       <AssemblerListingLocation>.\..\..\..\win64\__VCVER__\objd\__TKNAM__/</AssemblerListingLocation>
241       <ObjectFileName>.\..\..\..\win64\__VCVER__\objd\__TKNAM__/</ObjectFileName>
242       <ProgramDataBaseFileName>.\..\..\..\win64\__VCVER__\objd\__TKNAM__/</ProgramDataBaseFileName>
243       <WarningLevel>Level4</WarningLevel>
244       <SuppressStartupBanner>true</SuppressStartupBanner>
245       <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
246       <CompileAs>Default</CompileAs>
247       <DisableSpecificWarnings>%(DisableSpecificWarnings)</DisableSpecificWarnings>
248       <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
249       <FloatingPointModel>Precise</FloatingPointModel>
250       <PrecompiledHeader>NotUsing</PrecompiledHeader>
251       __VCMPL64__
252     </ClCompile>
253     <ResourceCompile>
254       <AdditionalIncludeDirectories>..\..\..\inc;$(CSF_OPT_INC);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
255       <PreprocessorDefinitions>_DEBUG;$(CSF_DEFINES);%(PreprocessorDefinitions)</PreprocessorDefinitions>
256     </ResourceCompile>
257     <Link>
258       <AdditionalDependencies>__TKDEP__;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
259       <OutputFile>.\..\..\..\win64\__VCVER__\bind\__TKNAM__.dll</OutputFile>
260       <SuppressStartupBanner>true</SuppressStartupBanner>
261       <AdditionalLibraryDirectories>..\..\..\win64\__VCVER__\libd;$(CSF_OPT_LIB64D);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
262       <GenerateDebugInformation>true</GenerateDebugInformation>
263       <ProgramDatabaseFile>..\..\..\win64\__VCVER__\bind\__TKNAM__.pdb</ProgramDatabaseFile>
264       <SubSystem>Console</SubSystem>
265       <ImportLibrary>..\..\..\win64\__VCVER__\libd\__TKNAM__.lib</ImportLibrary>
266       __UWP_GENERATE_METADATA__
267     </Link>
268   </ItemDefinitionGroup>
269   <ItemGroup>
270 __FILES__
271   </ItemGroup>
272   <ItemGroup>
273     <ResourceCompile Include="__TKNAM__.rc" />
274   </ItemGroup>
275   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
276   <ImportGroup Label="ExtensionTargets">
277   </ImportGroup>
278 </Project>