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.

56 lines
1.7 KiB

  1. //-----------------------------------------------------------------------------
  2. // BINLAUNCH.VPC
  3. //
  4. // Project Script
  5. //-----------------------------------------------------------------------------
  6. $Macro SRCDIR "..\.."
  7. $Macro OUTBINDIR "$SRCDIR\devtools\bin"
  8. $Include "$SRCDIR\vpc_scripts\source_exe_con_win32_base.vpc"
  9. $Configuration
  10. {
  11. $PostBuildEvent
  12. {
  13. // Various projects like vpc and remotemirror use copies of the binlaunch.exe, so when binlaunch is built,
  14. // it copies to those exes.
  15. $CommandLine "$BASE" "\n" \
  16. "\n" \
  17. "echo ... Copying BINLAUNCH.EXE to REMOTEMIRROR.EXE" "\n" \
  18. "call $SRCDIR\vpc_scripts\valve_p4_edit.cmd $SRCDIR\devtools\bin\remotemirror.exe $SRCDIR" "\n" \
  19. "copy $OUTBINDIR\$(TargetFileName) $SRCDIR\devtools\bin\remotemirror.exe" "\n" \
  20. "if ERRORLEVEL 1 goto BinLaunchCopyFailed" "\n" \
  21. "\n" \
  22. "echo ... Copying BINLAUNCH.EXE to SCHEMACOMPILER.EXE" "\n" \
  23. "call $SRCDIR\vpc_scripts\valve_p4_edit.cmd $SRCDIR\devtools\bin\schemacompiler.exe $SRCDIR" "\n" \
  24. "copy $OUTBINDIR\$(TargetFileName) $SRCDIR\devtools\bin\schemacompiler.exe" "\n" \
  25. "if ERRORLEVEL 1 goto BinLaunchCopyFailed" "\n" \
  26. "\n" \
  27. "goto BinLaunchCopyOK" "\n" \
  28. "\n" \
  29. ":BinLaunchCopyFailed" "\n" \
  30. "echo *** ERROR! binlaunch copy step failed." "\n" \
  31. "del /q $QUOTE$(TargetDir)$QUOTE$(TargetFileName)" "\n" \
  32. "exit 1" "\n" \
  33. "\n" \
  34. ":BinLaunchCopyOK" "\n" \
  35. "\n"
  36. }
  37. }
  38. $Project "binlaunch"
  39. {
  40. $Folder "Source Files"
  41. {
  42. $File "binlaunch.cpp"
  43. -$File "$SRCDIR\public\tier0\memoverride.cpp"
  44. }
  45. $Folder "Link Libraries"
  46. {
  47. -$ImpLib tier0
  48. -$Lib tier1
  49. -$ImpLib vstdlib
  50. }
  51. }