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.

40 lines
1.1 KiB

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