aboutsummaryrefslogtreecommitdiff
path: root/sp/src/vpc_scripts/source_exe_qt_win32_base.vpc
blob: 435c77e8991c5b3f6c12a1cfa0e74e6c845c2f54 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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"
	}
}