Team Fortress 2 Source Code as on 22/4/2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

174 lines
4.8 KiB

  1. //-----------------------------------------------------------------------------
  2. // MATERIALSYSTEM.VPC
  3. //
  4. // Project Script
  5. //-----------------------------------------------------------------------------
  6. $macro SRCDIR ".."
  7. $Macro OUTBINDIR "$SRCDIR\..\game\bin"
  8. $include "$SRCDIR\vpc_scripts\source_dll_base.vpc"
  9. $Configuration
  10. {
  11. $Compiler
  12. {
  13. $PreprocessorDefinitions "$BASE;DEFINE_MATERIALSYSTEM_INTERFACE;MATERIALSYSTEM_EXPORTS;PROTECTED_THINGS_ENABLE;strncpy=use_Q_strncpy_instead;_snprintf=use_Q_snprintf_instead"
  14. $PreprocessorDefinitions "$BASE;fopen=dont_use_fopen" [$WINDOWS]
  15. $Create/UsePCHThroughFile "pch_materialsystem.h"
  16. }
  17. $Linker
  18. {
  19. $SystemLibraries "iconv" [$OSXALL]
  20. }
  21. }
  22. $Configuration "Debug"
  23. {
  24. $Linker [$X360]
  25. {
  26. $AdditionalDependencies "$BASE d3dx9d.lib"
  27. }
  28. }
  29. $Configuration "Release"
  30. {
  31. $Linker [$X360]
  32. {
  33. $AdditionalDependencies "$BASE d3dx9.lib"
  34. }
  35. }
  36. $Project "MaterialSystem"
  37. {
  38. $Folder "Source Files"
  39. {
  40. $File "CColorCorrection.cpp"
  41. $File "cmaterial.cpp"
  42. $File "cmaterial_queuefriendly.cpp"
  43. $File "CMaterialSubRect.cpp"
  44. $File "cmaterialvar.cpp"
  45. $File "cmatnullrendercontext.cpp"
  46. $File "colorspace.cpp"
  47. $File "ctexture.cpp"
  48. $File "$SRCDIR\public\filesystem_helpers.cpp"
  49. $File "imagepacker.cpp"
  50. $File "mat_stub.cpp"
  51. $File "materialsystem_global.cpp"
  52. $File "morph.cpp"
  53. $File "occlusionquerymgr.cpp"
  54. $File "shadersystem.cpp"
  55. $File "texturemanager.cpp"
  56. $File "pch_materialsystem.cpp"
  57. {
  58. $Configuration
  59. {
  60. $Compiler
  61. {
  62. $Create/UsePrecompiledHeader "Create Precompiled Header (/Yc)"
  63. }
  64. }
  65. }
  66. $File "cmaterialdict.cpp" \
  67. "cmaterialsystem.cpp" \
  68. "cmatlightmaps.cpp" \
  69. "cmatrendercontext.cpp" \
  70. "cmatqueuedrendercontext.cpp" \
  71. "ctexturecompositor.cpp"
  72. {
  73. $Configuration
  74. {
  75. $Compiler
  76. {
  77. $Create/UsePrecompiledHeader "Use Precompiled Header (/Yu)"
  78. }
  79. }
  80. }
  81. }
  82. $Folder "Public Header Files"
  83. {
  84. $File "$SRCDIR\public\mathlib\amd3dx.h"
  85. $File "$SRCDIR\public\tier0\basetypes.h"
  86. $File "$SRCDIR\public\mathlib\bumpvects.h"
  87. $File "$SRCDIR\public\const.h"
  88. $File "$SRCDIR\public\tier1\convar.h"
  89. $File "$SRCDIR\public\crtmemdebug.h"
  90. $File "$SRCDIR\common\cstringhash.h"
  91. $File "$SRCDIR\public\filesystem.h"
  92. $File "$SRCDIR\public\appframework\IAppSystem.h"
  93. $File "$SRCDIR\public\materialsystem\combineoperations.h"
  94. $File "$SRCDIR\public\materialsystem\IColorCorrection.h"
  95. $File "$SRCDIR\public\materialsystem\imaterial.h"
  96. $File "$SRCDIR\public\materialsystem\imaterialproxy.h"
  97. $File "$SRCDIR\public\materialsystem\imaterialproxyfactory.h"
  98. $File "$SRCDIR\public\materialsystem\imaterialsystem.h"
  99. $File "$SRCDIR\public\materialsystem\imaterialsystemhardwareconfig.h"
  100. $File "$SRCDIR\public\materialsystem\imaterialsystemstub.h"
  101. $File "$SRCDIR\public\materialsystem\imaterialvar.h"
  102. $File "$SRCDIR\public\materialsystem\imesh.h"
  103. $File "$SRCDIR\public\materialsystem\imorph.h"
  104. $File "$SRCDIR\public\tier1\interface.h"
  105. $File "$SRCDIR\public\materialsystem\IShader.h"
  106. $File "$SRCDIR\public\materialsystem\ishaderapi.h"
  107. $File "$SRCDIR\public\materialsystem\itexture.h"
  108. $File "$SRCDIR\public\materialsystem\itexturecompositor.h"
  109. $File "$SRCDIR\public\tier1\KeyValues.h"
  110. $File "$SRCDIR\public\materialsystem\materialsystem_config.h"
  111. $File "$SRCDIR\public\mathlib\mathlib.h"
  112. $File "$SRCDIR\public\tier1\mempool.h"
  113. $File "$SRCDIR\public\pixelwriter.h"
  114. $File "$SRCDIR\public\renderparm.h"
  115. $File "$SRCDIR\public\tier1\strtools.h"
  116. $File "$SRCDIR\public\tier1\utlbuffer.h"
  117. $File "$SRCDIR\public\tier1\utlmemory.h"
  118. $File "$SRCDIR\public\tier1\utlrbtree.h"
  119. $File "$SRCDIR\public\tier1\utlsymbol.h"
  120. $File "$SRCDIR\public\tier1\utlvector.h"
  121. $File "$SRCDIR\public\mathlib\vector.h"
  122. $File "$SRCDIR\public\mathlib\vector2d.h"
  123. $File "$SRCDIR\public\mathlib\vector4d.h"
  124. $File "$SRCDIR\public\mathlib\vmatrix.h"
  125. $File "$SRCDIR\public\mathlib\vplane.h"
  126. $File "$SRCDIR\public\vstdlib\vstdlib.h"
  127. $File "$SRCDIR\public\vtf\vtf.h"
  128. }
  129. $Folder "Header Files"
  130. {
  131. $File "cmaterial_queuefriendly.h"
  132. $File "cmaterialdict.h"
  133. $File "cmaterialsystem.h"
  134. $File "cmatlightmaps.h"
  135. $File "cmatnullrendercontext.h"
  136. $File "cmatqueuedrendercontext.h"
  137. $File "cmatrendercontext.h"
  138. $File "colorspace.h"
  139. $File "ctexturecompositor.h"
  140. $File "IHardwareConfigInternal.h"
  141. $File "imagepacker.h"
  142. $File "imaterialinternal.h"
  143. $File "imaterialsysteminternal.h"
  144. $File "imatrendercontextinternal.h"
  145. $File "imorphinternal.h"
  146. $File "IShaderSystem.h"
  147. $File "$SRCDIR\public\shaderapi\ishaderutil.h"
  148. $File "itextureinternal.h"
  149. $File "materialsystem_global.h"
  150. $File "occlusionquerymgr.h"
  151. $File "shader_dll_verify.h" [$WIN32]
  152. $File "shadersystem.h"
  153. $File "texturemanager.h"
  154. }
  155. $Folder "Link Libraries"
  156. {
  157. $Lib bitmap
  158. $Lib mathlib
  159. $Lib shaderlib
  160. $Lib tier2
  161. $Lib vtf
  162. }
  163. }