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.

48 lines
1.4 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_exe_win_win32_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;UNICODE;QT_LARGEFILE_SUPPORT;QT_DLL;QT_GUI_LIB;QT_CORE_LIB;QT_THREAD_SUPPORT"
  13. $PreprocessorDefinitions "$BASE;QT_NO_DEBUG" [!$QTDEBUG]
  14. $DisableSpecificWarnings "4127;4512;$BASE"
  15. }
  16. }
  17. $Configuration
  18. {
  19. $Linker
  20. {
  21. // Link tier0 first because Qt needs our allocators during static object initization!
  22. $AdditionalDependencies "$BASE $LIBPUBLIC\tier0.lib"
  23. $GenerateManifest "Yes"
  24. $AdditionalOptions "$BASE $QUOTE/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='*' processorArchitecture='*'$QUOTE"
  25. }
  26. }
  27. $Project
  28. {
  29. $Folder "Link Libraries" [$QTDEBUG]
  30. {
  31. $Lib "$QT_ROOT\lib\qtmaind"
  32. $Lib "$QT_ROOT\lib\qtcored4"
  33. $Lib "$QT_ROOT\lib\qtguid4"
  34. }
  35. $Folder "Link Libraries" [!$QTDEBUG]
  36. {
  37. $Lib "$QT_ROOT\lib\qtmain"
  38. $Lib "$QT_ROOT\lib\qtcore4"
  39. $Lib "$QT_ROOT\lib\qtgui4"
  40. }
  41. }