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.

71 lines
1.6 KiB

  1. $Configuration
  2. {
  3. $Compiler
  4. {
  5. $AdditionalIncludeDirectories "$BASE,$SRCDIR\gcsdk\steamextra,..\common,$SRCDIR\thirdparty\protobuf-2.5.0\src"
  6. $AdditionalIncludeDirectories "$BASE,..\common\xlast_$GAMENAME" [!$DEMO]
  7. $AdditionalIncludeDirectories "$BASE,..\common\xlast_$GAMENAME_demo" [$DEMO]
  8. $PreprocessorDefinitions "$BASE;NO_STRING_T;VECTOR;VERSION_SAFE_STEAM_API_INTERFACES;PROTECTED_THINGS_ENABLE;NO_STEAM_GAMECOORDINATOR"
  9. $PreprocessorDefinitions "$BASE;strncpy=use_Q_strncpy_instead;_snprintf=use_Q_snprintf_instead" [!$PS3]
  10. }
  11. $Linker
  12. {
  13. $AdditionalLibraryDirectories "$BASE;$(XEDK)\lib\win32\vs2010" [$XDKINSTALLED]
  14. $SystemLibraries "iconv" [$OSXALL]
  15. }
  16. }
  17. $Configuration
  18. {
  19. $Linker [$WINDOWS]
  20. {
  21. $AdditionalDependencies "$BASE wsock32.lib ws2_32.lib wininet.lib"
  22. }
  23. $Linker [$PS3]
  24. {
  25. $AdditionalDependencies "$BASE libnet_stub.a libnetctl_stub.a"
  26. }
  27. }
  28. $Configuration "Debug"
  29. {
  30. $Linker [$X360]
  31. {
  32. $AdditionalDependencies "$BASE xaudiod2.lib Xhvd2.lib xmpd.lib"
  33. }
  34. $Linker [$WINDOWS]
  35. {
  36. $AdditionalDependencies "$BASE wsock32.lib ws2_32.lib wininet.lib"
  37. }
  38. }
  39. $Configuration "Release"
  40. {
  41. $Linker [$X360]
  42. {
  43. $AdditionalDependencies "$BASE xaudio2.lib Xhv2.lib xmp.lib"
  44. }
  45. $Linker [$WINDOWS]
  46. {
  47. $AdditionalDependencies "$BASE wsock32.lib ws2_32.lib wininet.lib"
  48. }
  49. }
  50. $Project
  51. {
  52. $Folder "Link Libraries"
  53. {
  54. $Lib mathlib
  55. $Lib tier2
  56. $Lib tier3
  57. $ImplibExternal steam_api [ ( $WIN32 || $POSIX || $PS3 ) && !$NO_STEAM ]
  58. $ImplibExternal steam_api64 [ $WIN64 && !$NO_STEAM ]
  59. $Lib gcsdk [!$X360 && !$PS3]
  60. }
  61. }