2013-07-04 11:20:31 -07:00
|
|
|
|
2013-09-02 11:39:10 -07:00
|
|
|
$Include "$SRCDIR\vpc_scripts\version.vpc"
|
|
|
|
$Macro PLATSUBDIR "\linux32" [$LINUX32]
|
|
|
|
|
|
|
|
$Macro LIBPUBLIC "$SRCDIR\lib\public$PLATSUBDIR"
|
|
|
|
$Macro LIBCOMMON "$SRCDIR\lib\common$PLATSUBDIR"
|
2013-07-04 11:20:31 -07:00
|
|
|
|
|
|
|
$MacroRequired "SRCDIR"
|
|
|
|
|
|
|
|
|
|
|
|
$Configuration "Debug"
|
|
|
|
{
|
|
|
|
$Compiler
|
|
|
|
{
|
|
|
|
$PreprocessorDefinitions "DEBUG;_DEBUG"
|
2014-10-30 12:30:57 -04:00
|
|
|
$OptimizerLevel "-gdwarf-2 -g $(OptimizerLevel_CompilerSpecific)" [$OSXALL]
|
|
|
|
$OptimizerLevel "-gdwarf-4 -g $(OptimizerLevel_CompilerSpecific)" [$LINUX]
|
2013-07-04 11:20:31 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
$Configuration "Release"
|
|
|
|
{
|
|
|
|
$Compiler
|
|
|
|
{
|
|
|
|
$PreprocessorDefinitions "NDEBUG"
|
2014-10-30 12:30:57 -04:00
|
|
|
$OptimizerLevel "-gdwarf-2 -g $(OptimizerLevel_CompilerSpecific)" [$OSXALL]
|
|
|
|
$OptimizerLevel "-gdwarf-4 -g $(OptimizerLevel_CompilerSpecific)" [$LINUX]
|
2013-07-04 11:20:31 -07:00
|
|
|
$PreprocessorDefinitions "$BASE;RELEASEASSERTS" [$RELEASEASSERTS]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
$Configuration
|
|
|
|
{
|
|
|
|
$General
|
|
|
|
{
|
|
|
|
$ConfigurationType "Application (.exe)"
|
|
|
|
}
|
|
|
|
|
|
|
|
$Compiler
|
|
|
|
{
|
|
|
|
$AdditionalIncludeDirectories "$SRCDIR\common;$SRCDIR\public;$SRCDIR\public\tier0;$SRCDIR\public\tier1"
|
2013-09-02 11:39:10 -07:00
|
|
|
$PreprocessorDefinitions "$BASE;GNUC;POSIX;COMPILER_GCC;MEMOVERRIDE_MODULE=$PROJECTNAME;_DLL_EXT=$_DLL_EXT"
|
2013-07-04 11:20:31 -07:00
|
|
|
$PreprocessorDefinitions "$BASE;DEDICATED" [$DEDICATED]
|
2013-09-02 11:39:10 -07:00
|
|
|
$PreprocessorDefinitions "$BASE;_LINUX;LINUX" [$LINUXALL]
|
2013-07-04 11:20:31 -07:00
|
|
|
$SymbolVisibility "hidden" [$POSIX]
|
2013-09-02 11:39:10 -07:00
|
|
|
$PreprocessorDefinitions "$BASE;POSIX;_POSIX" [$POSIX]
|
|
|
|
|
|
|
|
$GCC_ExtraCompilerFlags "-U_FORTIFY_SOURCE" [$LINUXALL]
|
|
|
|
$Create/UsePCHThroughFile "stdafx.h"
|
2013-07-04 11:20:31 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
$Project
|
|
|
|
{
|
|
|
|
$Folder "Link Libraries"
|
|
|
|
{
|
2013-09-02 11:39:10 -07:00
|
|
|
$ImpLib "$LIBPUBLIC\tier0" [!$IS_LIB_PROJECT]
|
|
|
|
$Lib "$LIBPUBLIC\tier1" [!$IS_LIB_PROJECT]
|
|
|
|
$ImpLib "$LIBPUBLIC\vstdlib" [!$IS_LIB_PROJECT]
|
2013-07-04 11:20:31 -07:00
|
|
|
}
|
|
|
|
}
|