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.

81 lines
1.7 KiB

  1. //-----------------------------------------------------------------------------
  2. // Base Settings for Source(TM) Projects
  3. //-----------------------------------------------------------------------------
  4. $Include "$SRCDIR\vpc_scripts\version.vpc"
  5. $MacroRequired "SRCDIR"
  6. $MacroRequired "OUTBINNAME" "$PROJECTNAME"
  7. $MacroRequired "OUTBINDIR"
  8. $Macro PLATSUBDIR "\."
  9. $Macro LIBPUBLIC "$SRCDIR\lib\public"
  10. $Macro LIBCOMMON "$SRCDIR\lib\common"
  11. $Macro SCE_LIBROOT "$(SCE_PS3_ROOT)\target\ppu\lib"
  12. $Include "$SRCDIR\vpc_scripts\source_ppu_elf_ps3_debug.vpc"
  13. $Include "$SRCDIR\vpc_scripts\source_ppu_elf_ps3_release.vpc"
  14. $IgnoreRedundancyWarning "ON"
  15. // Common Configuration
  16. $Configuration
  17. {
  18. $Compiler
  19. {
  20. $PreprocessorDefinitions "$BASE;_MEMTEST" [$MEMTEST]
  21. $PreprocessorDefinitions "$BASE;_LOWVIOLENCE" [$LV]
  22. $PreprocessorDefinitions "$BASE;_CERT" [$CERT]
  23. $PreprocessorDefinitions "$BASE;NO_STEAM" [$NO_STEAM]
  24. $PreprocessorDefinitions "$BASE;MEMOVERRIDE_MODULE=$PROJECTNAME;_DLL_EXT=$_DLL_EXT"
  25. }
  26. $PreBuildEvent
  27. {
  28. $CommandLine "$CRCCHECK" "\n"
  29. }
  30. $PostBuildEvent
  31. {
  32. $CommandLine "$BASE" "\n" \
  33. "copy $(TargetDir)$(TargetName).self $OUTBINDIR\EBOOT.BIN" "\n" \
  34. "copy $(TargetPath) $OUTBINDIR\EBOOT.ELF"
  35. }
  36. }
  37. // Skeleton Project
  38. $Project
  39. {
  40. $Folder "Source Files"
  41. {
  42. $File "$SRCDIR\public\tier0\memoverride.cpp"
  43. {
  44. $Configuration
  45. {
  46. $Compiler
  47. {
  48. $Create/UsePrecompiledHeader "Not Using Precompiled Headers"
  49. }
  50. }
  51. }
  52. }
  53. $Folder "Link Libraries"
  54. {
  55. }
  56. $File "vsi.nul"
  57. {
  58. $Configuration
  59. {
  60. $CustomBuildStep
  61. {
  62. $CommandLine "echo >nul
"
  63. $Outputs "$(IntDir)\vsi.out"
  64. }
  65. }
  66. }
  67. }