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.

105 lines
2.4 KiB

  1. //-----------------------------------------------------------------------------
  2. // STDSHADER_DX6.VPC
  3. //
  4. // Project Script
  5. //-----------------------------------------------------------------------------
  6. $Macro SRCDIR "..\.."
  7. $Macro OUTBINDIR "$SRCDIR\..\game\bin"
  8. // shader_dll_verify.cpp defines a function called _ftol3. This means that we can't
  9. // link with the bug-fixed ftol3.obj. It also means we can't convert float-to-unsigned.
  10. $Macro DISABLE_FTOL3_OVERRIDE "1"
  11. $Include "$SRCDIR\vpc_scripts\source_dll_base.vpc"
  12. $Configuration "Debug"
  13. {
  14. $General
  15. {
  16. $OutputDirectory "Debug_dx6"
  17. $IntermediateDirectory "Debug_dx6"
  18. }
  19. }
  20. $Configuration "Release"
  21. {
  22. $General
  23. {
  24. $OutputDirectory "Release_dx6"
  25. $IntermediateDirectory "Release_dx6"
  26. }
  27. }
  28. // Common Configuration
  29. $Configuration
  30. {
  31. $Compiler
  32. {
  33. $PreprocessorDefinitions "$BASE;STDSHADER_DX6_DLL_EXPORT;FAST_MATERIALVAR_ACCESS"
  34. $AdditionalIncludeDirectories "$BASE;..\..\dx9sdk\include"
  35. }
  36. $Linker
  37. {
  38. $AdditionalDependencies "$BASE odbc32.lib odbccp32.lib"
  39. }
  40. }
  41. $Project "Stdshader_dx6"
  42. {
  43. $Folder "Source Files"
  44. {
  45. $File "BufferClearObeyStencil_dx6.cpp"
  46. $File "cable_dx6.cpp"
  47. $File "cloud.cpp"
  48. $File "decal.cpp"
  49. $File "DecalBaseTimesLightmapAlphaBlendSelfIllum_dx6.cpp"
  50. $File "decalmodulate.cpp"
  51. $File "eyeball.cpp"
  52. $File "eyes_dx6.cpp"
  53. $File "introscreenspaceeffect_dx60.cpp"
  54. $File "lightmappedgeneric_dx6.cpp"
  55. $File "lightmappedtwotexture.cpp"
  56. $File "modulate_dx6.cpp"
  57. $File "portal_dx60.cpp"
  58. $File "portalstaticoverlay_dx60.cpp"
  59. $File "refract_dx60.cpp"
  60. $File "rift_dx6.cpp"
  61. $File "SetZ.cpp"
  62. $File "shadow_dx6.cpp"
  63. $File "shadowbuild_dx6.cpp"
  64. $File "sky_dx6.cpp"
  65. $File "sprite_dx6.cpp"
  66. $File "teeth_dx6.cpp"
  67. $File "unlitgeneric_dx6.cpp"
  68. $File "unlittwotexture_dx6.cpp"
  69. $File "vertexlitgeneric_dx6.cpp"
  70. $File "viewalpha.cpp"
  71. $File "volumetricfog.cpp"
  72. $File "water_dx60.cpp"
  73. $File "worldtwotextureblend_dx6.cpp"
  74. $File "worldvertextransition_dx6.cpp"
  75. $File "worldvertextransition_dx6_helper.cpp"
  76. $File "writez_dx6.cpp"
  77. $Folder "remove me when VAC2 is out"
  78. {
  79. $File "$SRCDIR\tier1\checksum_crc.cpp"
  80. $File "$SRCDIR\tier1\checksum_md5.cpp"
  81. $File "..\shader_dll_verify.cpp"
  82. $File "..\shader_dll_verify.h"
  83. }
  84. }
  85. $Folder "Header Files"
  86. {
  87. $File "worldvertextransition_dx6_helper.h"
  88. }
  89. $Folder "Link Libraries"
  90. {
  91. $Lib mathlib
  92. $Lib shaderlib
  93. }
  94. }