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.

104 lines
3.2 KiB

  1. //-----------------------------------------------------------------------------
  2. // VGUIMATSURFACE.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;BENCHMARK;VGUIMATSURFACE_DLL_EXPORT;GAMEUI_EXPORTS;DONT_PROTECT_FILEIO_FUNCTIONS;PROTECTED_THINGS_ENABLE"
  14. $PreprocessorDefinitions "$BASE;fopen=dont_use_fopen" [$WIN32]
  15. $EnableC++Exceptions "Yes (/EHsc)"
  16. // $TreatWchar_tAsBuiltinType "No"
  17. }
  18. $Linker
  19. {
  20. $SystemLibraries "iconv" [$OSXALL]
  21. $SystemFrameworks "Carbon" [$OSXALL]
  22. $GCC_ExtraLinkerFlags "-L/usr/lib32 -L/usr/lib -L/usr/lib/i386-linux-gnu" [$LINUXALL]
  23. $SystemLibraries "fontconfig;freetype" [$LINUXALL]
  24. $AdditionalDependencies "$BASE vgui_surfacelib_360.lib" [$X360]
  25. $AdditionalDependencies "$BASE vgui_surfacelib.lib nvtc.lib" [$WIN32]
  26. }
  27. }
  28. $Project "vguimatsurface"
  29. {
  30. $Folder "Source Files"
  31. {
  32. $File "Clip2D.cpp"
  33. $File "Cursor.cpp"
  34. $File "$SRCDIR\public\filesystem_helpers.cpp"
  35. $File "FontTextureCache.cpp"
  36. $File "Input.cpp"
  37. $File "MatSystemSurface.cpp"
  38. $File "memorybitmap.cpp" [$WIN32]
  39. $File "TextureDictionary.cpp"
  40. $File "$SRCDIR\vgui2\src\vgui_key_translation.cpp"
  41. $File "$SRCDIR\public\vgui_controls\vgui_controls.cpp"
  42. }
  43. $Folder "Header Files"
  44. {
  45. $File "Clip2D.h"
  46. $File "Cursor.h"
  47. $File "Input.h"
  48. $File "memorybitmap.h" [$WIN32]
  49. $File "TextureDictionary.h"
  50. $File "vguimatsurface.h"
  51. $File "MatSystemSurface.h"
  52. $File "FontTextureCache.h"
  53. $File "$SRCDIR\vgui2\src\vgui_key_translation.h"
  54. }
  55. $Folder "Public Header Files"
  56. {
  57. $File "$SRCDIR\public\tier0\basetypes.h"
  58. $File "$SRCDIR\public\tier1\characterset.h"
  59. $File "$SRCDIR\public\tier1\checksum_crc.h"
  60. $File "$SRCDIR\public\tier0\commonmacros.h"
  61. $File "$SRCDIR\public\filesystem.h"
  62. $File "$SRCDIR\public\filesystem_helpers.h"
  63. $File "$SRCDIR\common\vgui_surfacelib\FontAmalgam.h"
  64. $File "$SRCDIR\common\vgui_surfacelib\FontManager.h"
  65. $File "$SRCDIR\public\appframework\IAppSystem.h"
  66. $File "$SRCDIR\public\materialsystem\imaterial.h"
  67. $File "$SRCDIR\public\materialsystem\imaterialsystem.h"
  68. $File "$SRCDIR\public\materialsystem\imaterialvar.h"
  69. $File "$SRCDIR\public\VGuiMatSurface\IMatSystemSurface.h"
  70. $File "$SRCDIR\public\materialsystem\imesh.h"
  71. $File "$SRCDIR\public\tier1\interface.h"
  72. $File "$SRCDIR\public\materialsystem\itexture.h"
  73. $File "$SRCDIR\public\pixelwriter.h"
  74. $File "$SRCDIR\public\tier1\strtools.h"
  75. $File "$SRCDIR\public\tier1\utllinkedlist.h"
  76. $File "$SRCDIR\public\tier1\utlmemory.h"
  77. $File "$SRCDIR\public\tier1\utlrbtree.h"
  78. $File "$SRCDIR\public\tier1\utlvector.h"
  79. $File "$SRCDIR\public\mathlib\vector.h"
  80. $File "$SRCDIR\public\mathlib\vector2d.h"
  81. $File "$SRCDIR\public\mathlib\vector4d.h"
  82. $File "$SRCDIR\public\vstdlib\vstdlib.h"
  83. $File "$SRCDIR\public\vtf\vtf.h"
  84. $File "$SRCDIR\common\vgui_surfacelib\Win32Font.h"
  85. }
  86. $Folder "Link Libraries"
  87. {
  88. $Lib bitmap
  89. $Lib mathlib
  90. $Lib tier2
  91. $Lib tier3
  92. $Lib vgui_controls
  93. $Lib vgui_surfacelib
  94. $ImpLib SDL2 [$SDL]
  95. }
  96. }