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.

57 lines
1.4 KiB

  1. //-----------------------------------------------------------------------------
  2. // BSPPACK.VPC
  3. //
  4. // Project Script
  5. //-----------------------------------------------------------------------------
  6. $macro SRCDIR "..\.."
  7. $Macro OUTBINDIR "$SRCDIR\..\game\bin"
  8. $include "$SRCDIR\vpc_scripts\source_dll_base.vpc"
  9. $Configuration
  10. {
  11. $Compiler
  12. {
  13. $PreprocessorDefinitions "$BASE;BSPPACK_EXPORTS;ZIP_SUPPORT_LZMA_ENCODE"
  14. $PreprocessorDefinitions "$BASE;WIN_ERROR;_USRDLL" [$WIN32]
  15. $PreprocessorDefinitions "$BASE;WIN_ERROR;_USRDLL;BSP_USE_LESS_MEMORY" [$X360]
  16. $AdditionalIncludeDirectories "..\common;$BASE"
  17. }
  18. $Linker
  19. {
  20. $SystemLibraries "iconv" [$OSXALL]
  21. }
  22. }
  23. $Project "bsppack"
  24. {
  25. $Folder "Source Files"
  26. {
  27. $File "..\common\bsplib.cpp"
  28. $File "bsppack.cpp"
  29. $File "..\common\cmdlib.cpp"
  30. $File "$SRCDIR\public\filesystem_helpers.cpp"
  31. $File "$SRCDIR\public\filesystem_helpers.h"
  32. $File "$SRCDIR\public\filesystem_init.cpp"
  33. $File "..\common\filesystem_tools.cpp"
  34. $File "..\common\filesystem_tools.h"
  35. $File "$SRCDIR\public\lumpfiles.cpp"
  36. $File "..\common\scriplib.cpp"
  37. $File "$SRCDIR\public\zip_utils.cpp"
  38. $File "$SRCDIR\filesystem\linux_support.cpp" [$POSIX]
  39. }
  40. $Folder "Public Header Files"
  41. {
  42. $File "$SRCDIR\public\ibsppack.h"
  43. $File "$SRCDIR\public\bspfile.h"
  44. }
  45. $Folder "Link Libraries"
  46. {
  47. $Lib mathlib
  48. $Lib tier2
  49. $Lib "$LIBCOMMON/lzma"
  50. }
  51. }