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.

124 lines
3.6 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" [$WINDOWS]
  15. $PreprocessorDefinitions "$BASE;ENABLE_CHROMEHTMLWINDOW"
  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;SDL2" [$LINUXALL]
  24. $AdditionalDependencies "$BASE vgui_surfacelib_360.lib" [$X360]
  25. $AdditionalDependencies "$BASE vgui_surfacelib.lib" [$WINDOWS]
  26. }
  27. }
  28. $Configuration "Debug"
  29. {
  30. $Linker [$WINDOWS]
  31. {
  32. $AdditionalDependencies "$BASE $SRCDIR\lib\win32\debug\libcef.lib"
  33. }
  34. }
  35. $Configuration "Release"
  36. {
  37. $Linker [$WINDOWS]
  38. {
  39. $AdditionalDependencies "$BASE $SRCDIR\lib\win32\release\libcef.lib"
  40. }
  41. }
  42. $Project "vguimatsurface"
  43. {
  44. $Folder "Source Files"
  45. {
  46. $File "Clip2D.cpp"
  47. $File "Cursor.cpp"
  48. $File "$SRCDIR\public\filesystem_helpers.cpp"
  49. $File "Input.cpp"
  50. $File "MatSystemSurface.cpp"
  51. $File "memorybitmap.cpp" [$WINDOWS]
  52. $File "$SRCDIR\vgui2\src\htmlwindow.cpp" [$WINDOWS]
  53. $File "$SRCDIR\vgui2\src\vgui_key_translation.cpp"
  54. $File "$SRCDIR\public\vgui_controls\vgui_controls.cpp"
  55. }
  56. $Folder "Header Files"
  57. {
  58. $File "Clip2D.h"
  59. $File "Cursor.h"
  60. $File "Input.h"
  61. $File "memorybitmap.h" [$WINDOWS]
  62. $File "vguimatsurface.h"
  63. $File "MatSystemSurface.h"
  64. $File "$SRCDIR\vgui2\src\vgui_key_translation.h"
  65. }
  66. $Folder "Public Header Files"
  67. {
  68. $File "$SRCDIR\public\tier0\basetypes.h"
  69. $File "$SRCDIR\public\tier1\characterset.h"
  70. $File "$SRCDIR\public\tier1\checksum_crc.h"
  71. $File "$SRCDIR\public\filesystem.h"
  72. $File "$SRCDIR\public\filesystem_helpers.h"
  73. $File "$SRCDIR\common\vgui_surfacelib\FontAmalgam.h"
  74. $File "$SRCDIR\common\vgui_surfacelib\FontManager.h"
  75. $File "$SRCDIR\common\vgui\HtmlWindow.h" [$WINDOWS]
  76. $File "$SRCDIR\public\appframework\iappsystem.h"
  77. $File "$SRCDIR\public\materialsystem\imaterial.h"
  78. $File "$SRCDIR\public\materialsystem\imaterialsystem.h"
  79. $File "$SRCDIR\public\materialsystem\imaterialvar.h"
  80. $File "$SRCDIR\public\VGuiMatSurface\IMatSystemSurface.h"
  81. $File "$SRCDIR\public\materialsystem\imesh.h"
  82. $File "$SRCDIR\public\tier1\interface.h"
  83. $File "$SRCDIR\public\materialsystem\itexture.h"
  84. $File "$SRCDIR\public\pixelwriter.h"
  85. $File "$SRCDIR\public\tier1\strtools.h"
  86. $File "$SRCDIR\common\vgui_surfacelib\texturedictionary.h"
  87. $File "$SRCDIR\public\tier1\utllinkedlist.h"
  88. $File "$SRCDIR\public\tier1\utlmemory.h"
  89. $File "$SRCDIR\public\tier1\utlrbtree.h"
  90. $File "$SRCDIR\public\tier1\utlvector.h"
  91. $File "$SRCDIR\public\mathlib\vector.h"
  92. $File "$SRCDIR\public\mathlib\vector2d.h"
  93. $File "$SRCDIR\public\mathlib\vector4d.h"
  94. $File "$SRCDIR\public\vstdlib\vstdlib.h"
  95. $File "$SRCDIR\public\vtf\vtf.h"
  96. $File "$SRCDIR\common\vgui_surfacelib\Win32Font.h"
  97. }
  98. $Folder "Link Libraries"
  99. {
  100. $Lib bitmap
  101. $Lib mathlib
  102. $Lib tier2
  103. $Lib tier3
  104. $Lib vgui_controls
  105. $Lib vgui_surfacelib
  106. $Lib dmxloader
  107. $Lib "$SRCDIR\lib\public\nvtc" [$WINDOWS && !$WIN64]
  108. $Lib "$SRCDIR\lib\public\nvtc64" [$WIN64]
  109. $ImpLib SDL2 [$SDL && !$LINUXALL]
  110. }
  111. }