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.

44 lines
1.1 KiB

  1. //===================== Copyright (c) Valve Corporation. All Rights Reserved. ======================
  2. //
  3. //==================================================================================================
  4. $Macro QT_ROOT "$SRCDIR\thirdparty\lgpl\qt"
  5. $Include "$SRCDIR\vpc_scripts\source_dll_base.vpc"
  6. $Include "$SRCDIR\vpc_scripts\qt_base.vpc"
  7. $Configuration
  8. {
  9. $Compiler
  10. {
  11. $AdditionalIncludeDirectories "$BASE;.\;$SRCDIR\game\shared;$QT_ROOT\include;.\$QT_TARGET_SUBDIR"
  12. $PreprocessorDefinitions "$BASE;QT_LARGEFILE_SUPPORT;QT_DLL;QT_GUI_LIB;QT_CORE_LIB;QT_THREAD_SUPPORT"
  13. $DisableSpecificWarnings "4127;4512;$BASE"
  14. // Causes a bunch of bogus compiler warnings for now; let's disable it
  15. $Detect64bitPortabilityIssues "No"
  16. }
  17. }
  18. $Configuration "Release"
  19. {
  20. $Compiler
  21. {
  22. $PreprocessorDefinitions "$BASE;QT_NO_DEBUG"
  23. }
  24. }
  25. $Project
  26. {
  27. $Folder "Link Libraries" [$QTDEBUG]
  28. {
  29. $Lib "$QT_ROOT\lib\qtcored4"
  30. $Lib "$QT_ROOT\lib\qtguid4"
  31. }
  32. $Folder "Link Libraries" [!$QTDEBUG]
  33. {
  34. $Lib "$QT_ROOT\lib\qtcore4"
  35. $Lib "$QT_ROOT\lib\qtgui4"
  36. }
  37. }