vc2010_lib_proj.tpl 11 KB

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