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.

74 lines
1.5 KiB

  1. //-----------------------------------------------------------------------------
  2. // STDSHADER_DX7.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_dx7"
  17. $IntermediateDirectory "Debug_dx7"
  18. }
  19. }
  20. $Configuration "Release"
  21. {
  22. $General
  23. {
  24. $OutputDirectory "Release_dx7"
  25. $IntermediateDirectory "Release_dx7"
  26. }
  27. }
  28. // Common Configuration
  29. $Configuration
  30. {
  31. $Compiler
  32. {
  33. $PreprocessorDefinitions "$BASE;STDSHADER_DX7_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_dx7"
  42. {
  43. $Folder "Source Files"
  44. {
  45. $File "core_dx7.cpp"
  46. $File "filmdust_dx7.cpp"
  47. $File "filmgrain_dx7.cpp"
  48. $File "shatteredglass_dx7.cpp"
  49. $File "vertexlitgeneric_dx7.cpp"
  50. $File "vortwarp_dx7.cpp"
  51. $Folder "remove me when VAC2 is out"
  52. {
  53. $File "$SRCDIR\tier1\checksum_crc.cpp"
  54. $File "$SRCDIR\tier1\checksum_md5.cpp"
  55. $File "..\shader_dll_verify.cpp"
  56. $File "..\shader_dll_verify.h"
  57. }
  58. }
  59. $Folder "Link Libraries"
  60. {
  61. $Lib mathlib
  62. $Lib shaderlib
  63. }
  64. }