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.

35 lines
1.1 KiB

  1. //====== Copyright (c) 1996-2010, Valve Corporation, All rights reserved. =====
  2. //
  3. // Maya Plugin For Win32 - Same As source_dll_qt_win32_base.vpc except:
  4. // * QT_ROOT is left unspecified, the part VPC script needs to define it
  5. // as it varies with the version of Maya
  6. // * QT_NO_DEBUG is always defined.
  7. // * Only release versions of Qt libraries are linked
  8. // Maya is linked with release Qt libs, linking a plug-in with debug
  9. // libs will crash when a Qt widget is created
  10. //
  11. //=============================================================================
  12. $MacroRequired "QT_ROOT"
  13. $Include "$SRCDIR\vpc_scripts\source_dll_base.vpc"
  14. $Include "$SRCDIR\vpc_scripts\qt_base.vpc"
  15. $Configuration
  16. {
  17. $Compiler
  18. {
  19. $AdditionalIncludeDirectories "$BASE;.\;$QT_ROOT\include;.\$QT_TARGET_SUBDIR"
  20. $PreprocessorDefinitions "$BASE;QT_LARGEFILE_SUPPORT;QT_DLL;QT_GUI_LIB;QT_CORE_LIB;QT_THREAD_SUPPORT;QT_NO_DEBUG"
  21. $DisableSpecificWarnings "4127;4512;$BASE"
  22. }
  23. }
  24. $Project
  25. {
  26. $Folder "Link Libraries"
  27. {
  28. $Lib "$QT_ROOT\lib\qtcore4"
  29. $Lib "$QT_ROOT\lib\qtgui4"
  30. }
  31. }