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.1 KiB

  1. //-----------------------------------------------------------------------------
  2. // STEAMSCHEMA.VPC
  3. //
  4. // Project Script
  5. //-----------------------------------------------------------------------------
  6. $macro SRCDIR "..\.."
  7. $Macro OUTLIBDIR "$SRCDIR\lib\game\cstrike"
  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\cstrike\schema_cstrike.h $SRCDIR" "\n" \
  16. "call $SRCDIR\vpc_scripts\valve_p4_edit.cmd $SRCDIR\game\shared\cstrike\schema_cstrike.cpp $SRCDIR" "\n" \
  17. "$BASE"
  18. }
  19. }
  20. $Project "schema (cstrike)"
  21. {
  22. $File "cstrike\schema_cstrike.sch"
  23. {
  24. $Configuration
  25. {
  26. $CustomBuildStep
  27. {
  28. $Description "Running SchemaCompiler..."
  29. $CommandLine "$SRCDIR\gcsdk\bin\schemacompiler.exe cstrike\schema_cstrike.sch cstrike\schema_cstrike.cpp cstrike\schema_cstrike.h"
  30. $Outputs "cstrike\schema_cstrike.h;cstrike\schema_cstrike.cpp"
  31. $AdditionalDependencies "..\..\bin\schemacompiler.exe"
  32. }
  33. }
  34. }
  35. }