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 /sp/src/vpc_scripts/source_exe_qt_win32_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 'sp/src/vpc_scripts/source_exe_qt_win32_base.vpc')
| -rw-r--r-- | sp/src/vpc_scripts/source_exe_qt_win32_base.vpc | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/sp/src/vpc_scripts/source_exe_qt_win32_base.vpc b/sp/src/vpc_scripts/source_exe_qt_win32_base.vpc new file mode 100644 index 00000000..435c77e8 --- /dev/null +++ b/sp/src/vpc_scripts/source_exe_qt_win32_base.vpc @@ -0,0 +1,48 @@ +//===================== Copyright (c) Valve Corporation. All Rights Reserved. ====================== +// +//================================================================================================== + +$Macro QT_ROOT "$SRCDIR\thirdparty\lgpl\qt" + +$Include "$SRCDIR\vpc_scripts\source_exe_win_win32_base.vpc" +$Include "$SRCDIR\vpc_scripts\qt_base.vpc" + +$Configuration +{ + $Compiler + { + $AdditionalIncludeDirectories "$BASE;.\;$SRCDIR\game\shared;$QT_ROOT\include;.\$QT_TARGET_SUBDIR" + $PreprocessorDefinitions "$BASE;UNICODE;QT_LARGEFILE_SUPPORT;QT_DLL;QT_GUI_LIB;QT_CORE_LIB;QT_THREAD_SUPPORT" + $PreprocessorDefinitions "$BASE;QT_NO_DEBUG" [!$QTDEBUG] + $DisableSpecificWarnings "4127;4512;$BASE" + } +} + +$Configuration +{ + $Linker + { + // Link tier0 first because Qt needs our allocators during static object initization! + $AdditionalDependencies "$BASE $LIBPUBLIC\tier0.lib" + $GenerateManifest "Yes" + $AdditionalOptions "$BASE $QUOTE/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='*' processorArchitecture='*'$QUOTE" + } +} + +$Project +{ + $Folder "Link Libraries" [$QTDEBUG] + { + $Lib "$QT_ROOT\lib\qtmaind" + $Lib "$QT_ROOT\lib\qtcored4" + $Lib "$QT_ROOT\lib\qtguid4" + } + + $Folder "Link Libraries" [!$QTDEBUG] + { + $Lib "$QT_ROOT\lib\qtmain" + $Lib "$QT_ROOT\lib\qtcore4" + $Lib "$QT_ROOT\lib\qtgui4" + } +} + |