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.

121 lines
3.4 KiB

  1. //-----------------------------------------------------------------------------
  2. // VPC.VPC
  3. //
  4. // Project Script
  5. //-----------------------------------------------------------------------------
  6. $Macro SRCDIR "..\.."
  7. $Macro OUTBINDIR "$SRCDIR\devtools\bin" [!$OSX32]
  8. $Macro OUTBINDIR "$SRCDIR\devtools\bin\osx" [$OSX32]
  9. $Include "$SRCDIR\vpc_scripts\source_dll_win32_base.vpc" [!$OSX32]
  10. $Include "$SRCDIR\vpc_scripts\source_dll_linux_base.vpc" [$OSX32]
  11. $Configuration
  12. {
  13. $General
  14. {
  15. $AdditionalProjectDependencies "$BASE;binlaunch;p4lib;filesystem_stdio"
  16. }
  17. $Compiler
  18. {
  19. $PreprocessorDefinitions "$BASE;_USE_32BIT_TIME_T;_USRDLL"
  20. $DisableSpecificWarnings "4005"
  21. $AdditionalOptions "/MP1"
  22. }
  23. $Linker
  24. {
  25. $AdditionalDependencies "ws2_32.lib"
  26. }
  27. $PostBuildEvent [$WIN32]
  28. {
  29. // Copy binlaunch.exe to our exe.
  30. $CommandLine "$BASE" "\n" \
  31. "\n" \
  32. "echo ... Copying BINLAUNCH.EXE to VPC.EXE" "\n" \
  33. "call $SRCDIR\vpc_scripts\valve_p4_edit.cmd $OUTBINDIR\vpc.exe $SRCDIR" "\n" \
  34. "copy $SRCDIR\devtools\bin\binlaunch.exe $OUTBINDIR\vpc.exe" "\n" \
  35. "if ERRORLEVEL 1 goto BinLaunchCopyFailed" "\n" \
  36. "\n" \
  37. "goto BinLaunchCopyOK" "\n" \
  38. "\n" \
  39. ":BinLaunchCopyFailed" "\n" \
  40. "echo *** ERROR! binlaunch copy step failed." "\n" \
  41. "del /q $QUOTE$(TargetDir)$QUOTE$(TargetFileName)" "\n" \
  42. "exit 1" "\n" \
  43. "\n" \
  44. ":BinLaunchCopyOK" "\n" \
  45. "\n"
  46. }
  47. }
  48. $Project "vpc"
  49. {
  50. $Folder "Source Files"
  51. {
  52. $File "baseprojectdatacollector.cpp"
  53. $File "configuration.cpp"
  54. $File "../vpccrccheck/crccheck_shared.cpp"
  55. $File "dependencies.cpp"
  56. $File "GroupScript.cpp"
  57. $File "main.cpp"
  58. $File "p4sln.cpp" [$WIN32]
  59. $File "projectgenerator_vcproj.cpp"
  60. $File "projectgenerator_makefile.cpp"
  61. $File "projectgenerator_xcode.cpp"
  62. $File "projectgenerator_win32.cpp" [$WIN32]
  63. $File "projectgenerator_win32_2010.cpp" [$WIN32]
  64. $File "projectgenerator_ps3.cpp"
  65. $File "projectgenerator_xbox360.cpp"
  66. $File "projectgenerator_xbox360_2010.cpp"
  67. $File "ProjectScript.cpp"
  68. $File "scriptsource.cpp"
  69. $File "solutiongenerator_makefile.cpp"
  70. $File "solutiongenerator_xcode.cpp"
  71. $File "solutiongenerator_win32.cpp" [$WIN32]
  72. $File "sys_utils.cpp"
  73. $File "macros.cpp"
  74. $File "conditionals.cpp"
  75. $File "generatordefinition.cpp"
  76. }
  77. $Folder "Header Files"
  78. {
  79. $File "baseprojectdatacollector.h"
  80. $File "dependencies.h"
  81. $File "ibaseprojectgenerator.h"
  82. $File "ibasesolutiongenerator.h"
  83. $File "p4sln.h" [$WIN32]
  84. $File "projectgenerator_xcode.h"
  85. $file "projectgenerator_ps3.h"
  86. $file "projectgenerator_ps3.inc"
  87. $file "projectgenerator_win32_2010.h"
  88. $File "projectgenerator_win32_2010.inc"
  89. $file "projectgenerator_win32.h"
  90. $File "projectgenerator_win32.inc"
  91. $File "projectgenerator_vcproj.h"
  92. $File "projectgenerator_xbox360.h"
  93. $File "projectgenerator_xbox360.inc"
  94. $File "projectgenerator_xbox360_2010.h"
  95. $File "projectgenerator_xbox360_2010.inc"
  96. $File "scriptsource.h"
  97. $file "sys_utils.h"
  98. $File "vpc.h"
  99. $File "generatordefinition.h"
  100. }
  101. $Folder "VPC Scripts"
  102. {
  103. $Folder "Definitions"
  104. {
  105. $File "$SRCDIR\vpc_scripts\definitions\ps3.def"
  106. $File "$SRCDIR\vpc_scripts\definitions\xbox360.def"
  107. $File "$SRCDIR\vpc_scripts\definitions\xbox360_2010.def"
  108. $File "$SRCDIR\vpc_scripts\definitions\win32_2005.def"
  109. $File "$SRCDIR\vpc_scripts\definitions\win32_2010.def"
  110. }
  111. }
  112. }