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.

65 lines
1.3 KiB

  1. //-----------------------------------------------------------------------------
  2. // VPK.VPC
  3. //
  4. // Project Script
  5. //-----------------------------------------------------------------------------
  6. $Macro SRCDIR "..\.."
  7. $Macro OUTBINDIR "$SRCDIR\..\game\bin"
  8. $Macro OUTBINNAME "bin\vpk_$PLATFORM" [$LINUXALL||$OSXALL]
  9. $Include "$SRCDIR\vpc_scripts\source_exe_con_base.vpc"
  10. $include "$SRCDIR\vpc_scripts\source_cryptlib_include.vpc"
  11. $Configuration
  12. {
  13. $Linker
  14. {
  15. $SystemLibraries "iconv" [$OSXALL]
  16. $SystemFrameworks "Carbon" [$OSXALL]
  17. // I'm not sure why this is set in source_dll_win32_debug/release.vpc but not for
  18. // the corresponding .exe VPC files. vpk now needs this for cryptlib.
  19. $AdditionalLibraryDirectories "$LIBCOMMON;$LIBPUBLIC"
  20. }
  21. }
  22. $Configuration "Debug"
  23. {
  24. $Compiler
  25. {
  26. $AdditionalIncludeDirectories "$BASE,..\common"
  27. }
  28. $Linker
  29. {
  30. $DebuggableAssembly "Runtime tracking and disable optimizations (/ASSEMBLYDEBUG)"
  31. }
  32. }
  33. $Configuration "Release"
  34. {
  35. $Compiler
  36. {
  37. $AdditionalIncludeDirectories "$BASE,..\common"
  38. }
  39. }
  40. $Project "Vpk"
  41. {
  42. $Folder "Source Files"
  43. {
  44. $File "packtest.cpp"
  45. }
  46. $Folder "Link Libraries" [$WIN32 || $POSIX]
  47. {
  48. $Lib bitmap
  49. $Lib mathlib
  50. $Lib tier2
  51. $Implib tier0 [$POSIX]
  52. $Lib tier1 [$POSIX]
  53. $Implib vstdlib [$POSIX]
  54. }
  55. }