Counter Strike : Global Offensive Source Code
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.

107 lines
2.6 KiB

  1. //-----------------------------------------------------------------------------
  2. // STDSHADER_DBG.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. $Conditional DISABLE_FTOL3_OVERRIDE 1
  11. $include "$SRCDIR\vpc_scripts\source_dll_base.vpc"
  12. $Configuration "Debug"
  13. {
  14. $General
  15. {
  16. $OutputDirectory "Debug_dbg$PLATSUBDIR" [$WINDOWS]
  17. $IntermediateDirectory "Debug_dbg$PLATSUBDIR" [$WINDOWS]
  18. $OutputDirectory "Debug_dbg_360" [$X360]
  19. $IntermediateDirectory "Debug_dbg_360" [$X360]
  20. }
  21. }
  22. $Configuration "Release"
  23. {
  24. $General
  25. {
  26. $OutputDirectory "Release_dbg$PLATSUBDIR" [$WINDOWS]
  27. $IntermediateDirectory "Release_dbg$PLATSUBDIR" [$WINDOWS]
  28. $OutputDirectory "Release_dbg_360" [$X360]
  29. $IntermediateDirectory "Release_dbg_360" [$X360]
  30. }
  31. }
  32. // Common Configuration
  33. $Configuration
  34. {
  35. $Compiler
  36. {
  37. $AdditionalIncludeDirectories "$BASE;fxctmp9;vshtmp9;..\..\dx9sdk\include" [$WINDOWS]
  38. $AdditionalIncludeDirectories "$BASE;fxctmp9_360;vshtmp9_360" [$X360]
  39. $AdditionalIncludeDirectories "$BASE;.."
  40. $PreprocessorDefinitions "$BASE;STDSHADER_DBG_DLL_EXPORT;FAST_MATERIALVAR_ACCESS"
  41. }
  42. $Linker
  43. {
  44. $AdditionalDependencies "$BASE version.lib winmm.lib" [$WINDOWS]
  45. $ModuleDefinitionFile "xbox\xbox_dbg.def" [$X360]
  46. }
  47. }
  48. $Project "stdshader_dbg"
  49. {
  50. $Folder "Source Files"
  51. {
  52. $File "BaseVSShader.cpp"
  53. $File "debugdepth.cpp"
  54. $File "DebugDrawEnvmapMask.cpp"
  55. $File "debugluxel.cpp"
  56. $File "debugnormalmap.cpp"
  57. $File "debugtangentspace.cpp"
  58. $File "fillrate.cpp"
  59. $Folder "Remove me when VAC2 is out" [$WINDOWS]
  60. {
  61. $File "..\shader_dll_verify.cpp"
  62. $File "..\shader_dll_verify.h"
  63. }
  64. }
  65. $Folder "Xbox" [$X360]
  66. {
  67. -$File "xbox\xbox.def"
  68. $File "xbox\xbox_dbg.def"
  69. }
  70. $Folder "Header Files"
  71. {
  72. $File "BaseVSShader.h"
  73. }
  74. $Folder "Link Libraries"
  75. {
  76. $Lib "$SRCDIR\dx9sdk\lib\d3dx9" [$WINDOWS && !$GL]
  77. $Lib "$SRCDIR\lib\public\mathlib" [$WINDOWS]
  78. $Lib "$SRCDIR\lib\public\shaderlib" [$WINDOWS]
  79. $Lib "$SRCDIR\lib\public\mathlib_360" [$X360]
  80. $Lib "$SRCDIR\lib\public\shaderlib_360" [$X360]
  81. }
  82. $File "$SRCDIR\devtools\bin\vsh_prep.pl"
  83. $File "$SRCDIR\devtools\bin\psh_prep.pl"
  84. $File "$SRCDIR\devtools\bin\fxc_prep.pl"
  85. $File "$SRCDIR\devtools\bin\updateshaders.pl"
  86. $Shaders "stdshader_dx9_20b.txt"
  87. $Shaders "stdshader_dx9_30.txt"
  88. //$Shaders "stdshader_dx10.txt"
  89. }