vc2012_lib_proj.tpl 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- Library Project Template -->
  3. <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  4. <ItemGroup Label="ProjectConfigurations">
  5. <ProjectConfiguration Include="Debug|Win32">
  6. <Configuration>Debug</Configuration>
  7. <Platform>Win32</Platform>
  8. </ProjectConfiguration>
  9. <ProjectConfiguration Include="Optimized Debug|Win32">
  10. <Configuration>Optimized Debug</Configuration>
  11. <Platform>Win32</Platform>
  12. </ProjectConfiguration>
  13. <ProjectConfiguration Include="Release|Win32">
  14. <Configuration>Release</Configuration>
  15. <Platform>Win32</Platform>
  16. </ProjectConfiguration>
  17. </ItemGroup>
  18. <PropertyGroup Label="Globals">
  19. <ProjectGuid>{$GUID}</ProjectGuid>
  20. </PropertyGroup>
  21. <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
  22. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
  23. <ConfigurationType>StaticLibrary</ConfigurationType>
  24. <UseOfMfc>false</UseOfMfc>
  25. <PlatformToolset>v110</PlatformToolset>
  26. </PropertyGroup>
  27. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Optimized Debug|Win32'" Label="Configuration">
  28. <ConfigurationType>StaticLibrary</ConfigurationType>
  29. <UseOfMfc>false</UseOfMfc>
  30. <PlatformToolset>v110</PlatformToolset>
  31. </PropertyGroup>
  32. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
  33. <ConfigurationType>StaticLibrary</ConfigurationType>
  34. <UseOfMfc>false</UseOfMfc>
  35. <PlatformToolset>v110</PlatformToolset>
  36. </PropertyGroup>
  37. <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
  38. <ImportGroup Label="ExtensionSettings">
  39. </ImportGroup>
  40. <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
  41. <Import Project="Torque.Cpp.$(Platform).user.props" Condition="exists('Torque.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  42. </ImportGroup>
  43. <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Optimized Debug|Win32'" Label="PropertySheets">
  44. <Import Project="Torque.Cpp.$(Platform).user.props" Condition="exists('Torque.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  45. </ImportGroup>
  46. <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
  47. <Import Project="Torque.Cpp.$(Platform).user.props" Condition="exists('Torque.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  48. </ImportGroup>
  49. <PropertyGroup Label="UserMacros" />
  50. <PropertyGroup>
  51. <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
  52. <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">{$libDir}/compiled/$(Configuration).$(Platform)/</OutDir>
  53. <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">{$projectOffset}../Link/VC2010.$(Configuration).$(PlatformName)/$(ProjectName)/</IntDir>
  54. <TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">{$projOutName}_DEBUG</TargetName>
  55. <OutDir Condition="'$(Configuration)|$(Platform)'=='Optimized Debug|Win32'">{$libDir}/compiled/$(Configuration).$(Platform)/</OutDir>
  56. <IntDir Condition="'$(Configuration)|$(Platform)'=='Optimized Debug|Win32'">{$projectOffset}../Link/VC2010.$(Configuration).$(PlatformName)/$(ProjectName)/</IntDir>
  57. <TargetName Condition="'$(Configuration)|$(Platform)'=='Optimized Debug|Win32'">{$projOutName}_OPTIMIZEDDEBUG</TargetName>
  58. <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">{$libDir}/compiled/$(Configuration).$(Platform)/</OutDir>
  59. <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">{$projectOffset}../Link/VC2010.$(Configuration).$(PlatformName)/$(ProjectName)/</IntDir>
  60. <TargetName Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">{$projOutName}</TargetName>
  61. </PropertyGroup>
  62. <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
  63. <ClCompile>
  64. <AdditionalOptions>/MP %(AdditionalOptions)</AdditionalOptions>
  65. <Optimization>Disabled</Optimization>
  66. <IntrinsicFunctions>true</IntrinsicFunctions>
  67. <AdditionalIncludeDirectories>{foreach item=def from=$projIncludes}{$def};{/foreach}%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  68. <PreprocessorDefinitions>{foreach item=def from=$projDefines}{$def};{/foreach}TORQUE_DEBUG;TORQUE_DEBUG_GUARD;D3D_DEBUG_INFO;TORQUE_NET_STATS;UNICODE;_CRT_SECURE_NO_DEPRECATE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  69. <ExceptionHandling>
  70. </ExceptionHandling>
  71. <BasicRuntimeChecks>Default</BasicRuntimeChecks>
  72. <StringPooling>true</StringPooling>
  73. <RuntimeLibrary>{if $projRuntimeDebug == 1}MultiThreadedDebug{else}MultiThreadedDebugDLL{/if}</RuntimeLibrary>
  74. <BufferSecurityCheck>false</BufferSecurityCheck>
  75. <FunctionLevelLinking>true</FunctionLevelLinking>
  76. <TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>
  77. <RuntimeTypeInfo>true</RuntimeTypeInfo>
  78. <PrecompiledHeader>
  79. </PrecompiledHeader>
  80. <PrecompiledHeaderOutputFile>$(OutDir)$(ProjectName)_DEBUG.pch</PrecompiledHeaderOutputFile>
  81. <AssemblerListingLocation>$(OutDir)</AssemblerListingLocation>
  82. <ProgramDataBaseFileName>$(OutDir)$(ProjectName)_DEBUG.pdb</ProgramDataBaseFileName>
  83. <WarningLevel>Level3</WarningLevel>
  84. <SuppressStartupBanner>true</SuppressStartupBanner>
  85. <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
  86. <CompileAs>Default</CompileAs>
  87. <DisableSpecificWarnings>{foreach item=def from=$projDisabledWarnings}{$def};{/foreach}4244;4305;4530;4355;%(DisableSpecificWarnings)</DisableSpecificWarnings>
  88. </ClCompile>
  89. <ResourceCompile>
  90. <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  91. <Culture>0x0409</Culture>
  92. </ResourceCompile>
  93. <Lib>
  94. <OutputFile>$(OutDir){$projOutName}_DEBUG.lib</OutputFile>
  95. <SuppressStartupBanner>true</SuppressStartupBanner>
  96. </Lib>
  97. </ItemDefinitionGroup>
  98. <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Optimized Debug|Win32'">
  99. <ClCompile>
  100. <AdditionalOptions>/MP %(AdditionalOptions)</AdditionalOptions>
  101. <Optimization>Full</Optimization>
  102. <InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
  103. <IntrinsicFunctions>true</IntrinsicFunctions>
  104. <AdditionalIncludeDirectories>{foreach item=def from=$projIncludes}{$def};{/foreach}%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  105. <PreprocessorDefinitions>{foreach item=def from=$projDefines}{$def};{/foreach}TORQUE_DEBUG;TORQUE_DEBUG_GUARD;D3D_DEBUG_INFO;TORQUE_NET_STATS;UNICODE;_CRT_SECURE_NO_DEPRECATE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  106. <ExceptionHandling>
  107. </ExceptionHandling>
  108. <BasicRuntimeChecks>Default</BasicRuntimeChecks>
  109. <StringPooling>true</StringPooling>
  110. <RuntimeLibrary>{if $projRuntimeDebug == 1}MultiThreadedDebug{else}MultiThreadedDebugDLL{/if}</RuntimeLibrary>
  111. <BufferSecurityCheck>false</BufferSecurityCheck>
  112. <FunctionLevelLinking>true</FunctionLevelLinking>
  113. <TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>
  114. <RuntimeTypeInfo>true</RuntimeTypeInfo>
  115. <PrecompiledHeader>
  116. </PrecompiledHeader>
  117. <PrecompiledHeaderOutputFile>$(OutDir)$(ProjectName)_OPTIMIZEDDEBUG.pch</PrecompiledHeaderOutputFile>
  118. <AssemblerListingLocation>$(OutDir)</AssemblerListingLocation>
  119. <ProgramDataBaseFileName>$(OutDir)$(ProjectName)_OPTIMIZEDDEBUG.pdb</ProgramDataBaseFileName>
  120. <WarningLevel>Level3</WarningLevel>
  121. <SuppressStartupBanner>true</SuppressStartupBanner>
  122. <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
  123. <CompileAs>Default</CompileAs>
  124. <DisableSpecificWarnings>{foreach item=def from=$projDisabledWarnings}{$def};{/foreach}4244;4305;4530;4355;%(DisableSpecificWarnings)</DisableSpecificWarnings>
  125. </ClCompile>
  126. <ResourceCompile>
  127. <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  128. <Culture>0x0409</Culture>
  129. </ResourceCompile>
  130. <Lib>
  131. <OutputFile>$(OutDir){$projOutName}_OPTIMIZEDDEBUG.lib</OutputFile>
  132. <SuppressStartupBanner>true</SuppressStartupBanner>
  133. </Lib>
  134. </ItemDefinitionGroup>
  135. <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
  136. <ClCompile>
  137. <AdditionalOptions>/MP %(AdditionalOptions)</AdditionalOptions>
  138. <Optimization>Full</Optimization>
  139. <InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
  140. <AdditionalIncludeDirectories>{foreach item=def from=$projIncludes}{$def};{/foreach}%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  141. <PreprocessorDefinitions>{foreach item=def from=$projDefines}{$def};{/foreach}UNICODE;_CRT_SECURE_NO_DEPRECATE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  142. <ExceptionHandling>
  143. </ExceptionHandling>
  144. <BasicRuntimeChecks>Default</BasicRuntimeChecks>
  145. <StringPooling>true</StringPooling>
  146. <RuntimeLibrary>{if $projRuntimeRelease == 0}MultiThreaded{else}MultiThreadedDLL{/if}</RuntimeLibrary>
  147. <BufferSecurityCheck>false</BufferSecurityCheck>
  148. <FunctionLevelLinking>true</FunctionLevelLinking>
  149. <TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>
  150. <RuntimeTypeInfo>true</RuntimeTypeInfo>
  151. <PrecompiledHeader>
  152. </PrecompiledHeader>
  153. <PrecompiledHeaderOutputFile>$(OutDir)$(ProjectName).pch</PrecompiledHeaderOutputFile>
  154. <AssemblerListingLocation>$(OutDir)</AssemblerListingLocation>
  155. <ProgramDataBaseFileName>$(OutDir)$(ProjectName).pdb</ProgramDataBaseFileName>
  156. <WarningLevel>Level3</WarningLevel>
  157. <SuppressStartupBanner>true</SuppressStartupBanner>
  158. <CompileAs>Default</CompileAs>
  159. <DisableSpecificWarnings>{foreach item=def from=$projDisabledWarnings}{$def};{/foreach}4244;4305;4530;4355;%(DisableSpecificWarnings)</DisableSpecificWarnings>
  160. </ClCompile>
  161. <ResourceCompile>
  162. <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  163. </ResourceCompile>
  164. <Lib>
  165. <OutputFile>$(OutDir)/{$projOutName}.lib</OutputFile>
  166. <SuppressStartupBanner>true</SuppressStartupBanner>
  167. </Lib>
  168. </ItemDefinitionGroup>
  169. <ItemGroup>
  170. {assign var="dirWalk" value=$fileArray}
  171. {include file="vc2010_fileRecurse.tpl" dirWalk=$dirWalk depth=1 dirPath=$projOutput->base_dir}
  172. </ItemGroup>
  173. <ItemGroup>
  174. {foreach item=dep from=$projDepend}
  175. <ProjectReference Include="{$projectDepends[$dep]->name}.vcxproj">
  176. <Project>{$projectDepends[$dep]->guid}</Project>
  177. <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
  178. </ProjectReference>
  179. {/foreach}
  180. </ItemGroup>
  181. <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  182. <ImportGroup Label="ExtensionTargets">
  183. </ImportGroup>
  184. </Project>