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.

41 lines
1.2 KiB

  1. //-----------------------------------------------------------------------------
  2. // SCHEMA_CSTRIKE15.VPC
  3. //
  4. // Project Script
  5. //-----------------------------------------------------------------------------
  6. $macro SRCDIR "..\.."
  7. $Macro OUTLIBDIR "$SRCDIR\lib\game\cstrike15"
  8. $macro $_STATICLIB_EXT ".lib"
  9. $include "$SRCDIR\vpc_scripts\source_lib_win32_base.vpc" [$WINDOWS||$LINUX]
  10. $include "$SRCDIR\vpc_scripts\source_lib_x360_base.vpc" [$X360]
  11. $Configuration
  12. {
  13. $PreBuildEvent
  14. {
  15. $CommandLine "call $SRCDIR\vpc_scripts\valve_p4_edit.cmd $SRCDIR\game\shared\cstrike15\schema_cstrike15.h $SRCDIR" "\n" \
  16. "call $SRCDIR\vpc_scripts\valve_p4_edit.cmd $SRCDIR\game\shared\cstrike15\schema_cstrike15.cpp $SRCDIR" "\n" \
  17. "$BASE"
  18. }
  19. }
  20. $Project "schema (cstrike15)"
  21. {
  22. $File "cstrike15\schema_cstrike15.sch"
  23. {
  24. $Configuration
  25. {
  26. $CustomBuildStep
  27. {
  28. $Description "Running SchemaCompiler..."
  29. $CommandLine "$SRCDIR\gcsdk\bin\schemacompiler.exe cstrike15\schema_cstrike15.sch cstrike15\schema_cstrike15.cpp cstrike15\schema_cstrike15.h"
  30. $Outputs "cstrike15\schema_cstrike15.h;cstrike15\schema_cstrike15.cpp"
  31. $AdditionalDependencies "..\..\bin\schemacompiler.exe"
  32. }
  33. }
  34. }
  35. }