mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-12-07 10:38:23 +00:00
46 lines
1.1 KiB
Plaintext
46 lines
1.1 KiB
Plaintext
//-----------------------------------------------------------------------------
|
|
// libspng
|
|
//-----------------------------------------------------------------------------
|
|
|
|
$Macro SRCDIR "..\.."
|
|
$Macro OUTLIBDIR "$LIBCOMMON"
|
|
|
|
$Conditional DISABLE_RTTI "true"
|
|
|
|
$Conditional THIRDPARTYPROJECT "true"
|
|
|
|
$include "$SRCDIR\vpc_scripts\source_lib_base.vpc"
|
|
|
|
$Configuration
|
|
{
|
|
$Compiler
|
|
{
|
|
$AdditionalIncludeDirectories "$BASE;../zlib/include"
|
|
$PreprocessorDefinitions "$BASE;SPNG_STATIC"
|
|
$PreprocessorDefinitions "$BASE;MAKEFILE_FORCE_C_COMPILE" [$LINUXALL || $ANDROIDALL]
|
|
$CompileAs "Compile as C Code (/TC)"
|
|
|
|
// Force the tier0 stdlib routines to be used for basic CRT functions.
|
|
//$ForcedIncludeFile "tier0_force_stdlib.h"
|
|
|
|
$GCC_ExtraCompilerFlags "$BASE -Wno-implicit-function-declaration" //Warn about implicit function declarations
|
|
$GCC_ExtraCompilerFlags "$BASE -x c" [$OSXALL]
|
|
|
|
$TreatWarningsAsErrors "No"
|
|
}
|
|
}
|
|
|
|
$Project "libspng"
|
|
{
|
|
$Folder "Header Files"
|
|
{
|
|
$File "spng\spng.h"
|
|
}
|
|
|
|
$Folder "Source Files"
|
|
{
|
|
$File "spng\spng.c"
|
|
}
|
|
}
|
|
|