mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-09-19 03:56:10 +08:00
General:
* Fixed a variety of server browser issues with mods based on this SDK * Fixed many warnings on various platforms * Added source code for fgdlib and raytrace * Updated many source files with the latest shared source from TF2. OSX: * Added support for Xcode 4.6 * Switched OSX builds to use Xcode instead of makefiles * Moved libs from src/lib/osx32 to src/lib/public/osx32 or src/lib/common/osx32 to match windows better. Linux: * Moved libs from src/lib/linux32 to src/lib/public/linux32 or src/lib/common/linux32 to match windows better.
This commit is contained in:
44
vpc_scripts/source_dll_qt_base.vpc
Normal file
44
vpc_scripts/source_dll_qt_base.vpc
Normal file
@ -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"
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user