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.

130 lines
3.8 KiB

  1. //-----------------------------------------------------------------------------
  2. // VGUI_DLL.VPC
  3. //
  4. // Project Script
  5. //-----------------------------------------------------------------------------
  6. $Macro SRCDIR "..\.."
  7. $Macro OUTBINDIR "$SRCDIR\..\game\bin"
  8. $Macro OUTBINNAME "vgui2"
  9. $include "$SRCDIR\vpc_scripts\source_dll_base.vpc"
  10. $Configuration
  11. {
  12. $Compiler
  13. {
  14. $AdditionalIncludeDirectories "$BASE;..\include"
  15. $AdditionalIncludeDirectories "$BASE;$SRCDIR\thirdparty"
  16. $PreprocessorDefinitions "$BASE;DONT_PROTECT_FILEIO_FUNCTIONS"
  17. // $TreatWchar_tAsBuiltinType "No"
  18. }
  19. $Linker [!$PS3]
  20. {
  21. $AdditionalDependencies "$BASE Imm32.lib Shlwapi.lib odbc32.lib odbccp32.lib winmm.lib" [$WINDOWS]
  22. $SystemLibraries "iconv" [$OSXALL]
  23. $SystemFrameworks "Carbon"
  24. $SystemLibraries "SDL2" [$LINUXALL]
  25. }
  26. }
  27. $Project "vgui2"
  28. {
  29. $Folder "Source Files"
  30. {
  31. $File "Bitmap.cpp"
  32. $File "Border.cpp"
  33. $File "ScalableImageBorder.cpp"
  34. $File "ImageBorder.cpp"
  35. $File "fileimage.cpp"
  36. $File "$SRCDIR\public\filesystem_helpers.cpp"
  37. $File "$SRCDIR\public\filesystem_init.cpp"
  38. $File "htmlwindow.cpp" [$WINDOWS]
  39. $File "InputWin32.cpp" [$WINDOWS||$X360||$PS3||$LINUXALL]
  40. $File "inputosx.cpp" [$OSXALL]
  41. $File "MemoryBitmap.cpp"
  42. $File "Memorybitmap.h"
  43. $File "MessageListener.cpp"
  44. $File "Scheme.cpp"
  45. $File "Surface.cpp" [$WINDOWS]
  46. $File "System.cpp" [$WINDOWS||$X360||$PS3]
  47. $File "system_posix.cpp" [$POSIX]
  48. $File "$SRCDIR\public\UnicodeFileHelpers.cpp"
  49. $File "vgui.cpp"
  50. $File "vgui_internal.cpp"
  51. $File "vgui_key_translation.cpp"
  52. $File "VPanel.cpp"
  53. $File "VPanelWrapper.cpp"
  54. $File "keyrepeat.cpp"
  55. }
  56. $Folder "Header Files"
  57. {
  58. $File "bitmap.h"
  59. $File "fileimage.h"
  60. $File "IMessageListener.h"
  61. $File "vgui_internal.h"
  62. $File "vgui_key_translation.h"
  63. $File "VPanel.h"
  64. }
  65. $Folder "Public Header Files"
  66. {
  67. $File "$SRCDIR\public\tier0\basetypes.h"
  68. $File "$SRCDIR\public\color.h"
  69. $File "$SRCDIR\public\vgui\Cursor.h"
  70. $File "$SRCDIR\public\filesystem.h"
  71. $File "$SRCDIR\common\vgui_surfacelib\FontAmalgam.h"
  72. $File "$SRCDIR\common\vgui_surfacelib\FontManager.h"
  73. $File "$SRCDIR\common\vgui\HtmlWindow.h"
  74. $File "$SRCDIR\public\tier1\interface.h"
  75. $File "$SRCDIR\public\vgui\KeyCode.h"
  76. $File "$SRCDIR\common\SteamBootStrapper.h"
  77. $File "$SRCDIR\public\tier1\strtools.h"
  78. $File "$SRCDIR\public\UnicodeFileHelpers.h"
  79. $File "$SRCDIR\public\tier1\utlbuffer.h"
  80. $File "$SRCDIR\public\tier1\utllinkedlist.h"
  81. $File "$SRCDIR\public\tier1\utlmemory.h"
  82. $File "$SRCDIR\public\tier1\utlpriorityqueue.h"
  83. $File "$SRCDIR\public\tier1\utlrbtree.h"
  84. $File "$SRCDIR\public\tier1\utlvector.h"
  85. $File "$SRCDIR\public\mathlib\vector2d.h"
  86. $File "$SRCDIR\public\vgui\vgui.h"
  87. $File "$SRCDIR\public\vstdlib\vstdlib.h"
  88. $File "$SRCDIR\common\vgui_surfacelib\Win32Font.h" [$WINDOWS||$X360||$PS3||$POSIX]
  89. $File "$SRCDIR\common\vgui_surfacelib\OSXFont.h" [$OSXALL]
  90. $File "$SRCDIR\public\vgui\keyrepeat.h"
  91. }
  92. $Folder "Interfaces"
  93. {
  94. $File "$SRCDIR\public\appframework\iappsystem.h"
  95. $File "$SRCDIR\public\vgui\IBorder.h"
  96. $File "$SRCDIR\public\vgui\IClientPanel.h"
  97. $File "$SRCDIR\public\vgui\IHTML.h"
  98. $File "$SRCDIR\public\vgui\IImage.h"
  99. $File "$SRCDIR\public\vgui\IInput.h"
  100. $File "$SRCDIR\public\vgui\ILocalize.h"
  101. $File "$SRCDIR\public\vgui\IPanel.h"
  102. $File "$SRCDIR\public\vgui\IScheme.h"
  103. $File "$SRCDIR\public\vgui\ischemesurface.h"
  104. $File "$SRCDIR\public\vgui\ISurface.h"
  105. $File "$SRCDIR\public\vgui\ISystem.h"
  106. $File "$SRCDIR\public\vgui\IVGui.h"
  107. $File "$SRCDIR\public\vgui\IVguiMatInfo.h"
  108. $File "$SRCDIR\public\vgui\IVguiMatInfoVar.h"
  109. $File "VGUI_Border.h"
  110. $File "ScalableImageBorder.h"
  111. $File "ImageBorder.h"
  112. }
  113. $Folder "Link Libraries"
  114. {
  115. $Lib vgui_surfacelib
  116. $Lib tier2
  117. $Lib tier3
  118. $ImpLibExternal SDL2 [$SDL && !$LINUXALL]
  119. }
  120. }