diff options
| author | Alan Edwardes <[email protected]> | 2013-12-03 10:47:30 +0000 |
|---|---|---|
| committer | Alan Edwardes <[email protected]> | 2013-12-03 10:47:30 +0000 |
| commit | 550992aebacbc7586553c15a3c2120f85a879126 (patch) | |
| tree | c814cf654018acd5d69bb6e4be5dc9900391fd37 /mp/src/vpc_scripts/source_mll_qt_base.vpc | |
| parent | VBSP now checks all search paths for an FGD file. (diff) | |
| parent | Make .xcconfigs text files too. (diff) | |
| download | source-sdk-2013-550992aebacbc7586553c15a3c2120f85a879126.tar.xz source-sdk-2013-550992aebacbc7586553c15a3c2120f85a879126.zip | |
Merge remote-tracking branch 'upstream/master' into vbsp-fixes.
Diffstat (limited to 'mp/src/vpc_scripts/source_mll_qt_base.vpc')
| -rw-r--r-- | mp/src/vpc_scripts/source_mll_qt_base.vpc | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/mp/src/vpc_scripts/source_mll_qt_base.vpc b/mp/src/vpc_scripts/source_mll_qt_base.vpc new file mode 100644 index 00000000..9ec5f135 --- /dev/null +++ b/mp/src/vpc_scripts/source_mll_qt_base.vpc @@ -0,0 +1,35 @@ +//====== Copyright (c) 1996-2010, Valve Corporation, All rights reserved. ===== +// +// Maya Plugin For Win32 - Same As source_dll_qt_win32_base.vpc except: +// * QT_ROOT is left unspecified, the part VPC script needs to define it +// as it varies with the version of Maya +// * QT_NO_DEBUG is always defined. +// * Only release versions of Qt libraries are linked +// Maya is linked with release Qt libs, linking a plug-in with debug +// libs will crash when a Qt widget is created +// +//============================================================================= + +$MacroRequired "QT_ROOT" + +$Include "$SRCDIR\vpc_scripts\source_dll_base.vpc" +$Include "$SRCDIR\vpc_scripts\qt_base.vpc" + +$Configuration +{ + $Compiler + { + $AdditionalIncludeDirectories "$BASE;.\;$QT_ROOT\include;.\$QT_TARGET_SUBDIR" + $PreprocessorDefinitions "$BASE;QT_LARGEFILE_SUPPORT;QT_DLL;QT_GUI_LIB;QT_CORE_LIB;QT_THREAD_SUPPORT;QT_NO_DEBUG" + $DisableSpecificWarnings "4127;4512;$BASE" + } +} + +$Project +{ + $Folder "Link Libraries" + { + $Lib "$QT_ROOT\lib\qtcore4" + $Lib "$QT_ROOT\lib\qtgui4" + } +} |