summaryrefslogtreecommitdiff
path: root/vpc_scripts/source_dll_qt_base.vpc
diff options
context:
space:
mode:
authorFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
committerFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
commit3bf9df6b2785fa6d951086978a3e66f49427166a (patch)
tree2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /vpc_scripts/source_dll_qt_base.vpc
downloadarchived-source-engine-2018-hl2-src-master.tar.xz
archived-source-engine-2018-hl2-src-master.zip
Diffstat (limited to 'vpc_scripts/source_dll_qt_base.vpc')
-rw-r--r--vpc_scripts/source_dll_qt_base.vpc44
1 files changed, 44 insertions, 0 deletions
diff --git a/vpc_scripts/source_dll_qt_base.vpc b/vpc_scripts/source_dll_qt_base.vpc
new file mode 100644
index 0000000..9cbdfc0
--- /dev/null
+++ b/vpc_scripts/source_dll_qt_base.vpc
@@ -0,0 +1,44 @@
+//===================== Copyright (c) Valve Corporation. All Rights Reserved. ======================
+//
+//==================================================================================================
+
+$Macro QT_ROOT "$SRCDIR\thirdparty\lgpl\qt"
+
+$Include "$SRCDIR\vpc_scripts\source_dll_base.vpc"
+$Include "$SRCDIR\vpc_scripts\qt_base.vpc"
+
+$Configuration
+{
+ $Compiler
+ {
+ $AdditionalIncludeDirectories "$BASE;.\;$SRCDIR\game\shared;$QT_ROOT\include;.\$QT_TARGET_SUBDIR"
+ $PreprocessorDefinitions "$BASE;QT_LARGEFILE_SUPPORT;QT_DLL;QT_GUI_LIB;QT_CORE_LIB;QT_THREAD_SUPPORT"
+ $DisableSpecificWarnings "4127;4512;$BASE"
+
+ // Causes a bunch of bogus compiler warnings for now; let's disable it
+ $Detect64bitPortabilityIssues "No"
+ }
+}
+
+$Configuration "Release"
+{
+ $Compiler
+ {
+ $PreprocessorDefinitions "$BASE;QT_NO_DEBUG"
+ }
+}
+
+$Project
+{
+ $Folder "Link Libraries" [$QTDEBUG]
+ {
+ $Lib "$QT_ROOT\lib\qtcored4"
+ $Lib "$QT_ROOT\lib\qtguid4"
+ }
+
+ $Folder "Link Libraries" [!$QTDEBUG]
+ {
+ $Lib "$QT_ROOT\lib\qtcore4"
+ $Lib "$QT_ROOT\lib\qtgui4"
+ }
+}