source-engine/utils/bsppack/bsppack.vpc

58 lines
1.4 KiB
Plaintext
Raw Normal View History

2020-04-22 16:56:21 +00:00
//-----------------------------------------------------------------------------
// BSPPACK.VPC
//
// Project Script
//-----------------------------------------------------------------------------
$macro SRCDIR "..\.."
2020-10-22 18:00:42 +00:00
$Macro OUTBINDIR "$LIBPUBLIC"
2020-04-22 16:56:21 +00:00
$include "$SRCDIR\vpc_scripts\source_dll_base.vpc"
$Configuration
{
$Compiler
{
$PreprocessorDefinitions "$BASE;BSPPACK_EXPORTS;ZIP_SUPPORT_LZMA_ENCODE"
$PreprocessorDefinitions "$BASE;WIN_ERROR;_USRDLL" [$WIN32]
$PreprocessorDefinitions "$BASE;WIN_ERROR;_USRDLL;BSP_USE_LESS_MEMORY" [$X360]
$AdditionalIncludeDirectories "..\common;$BASE"
}
$Linker
{
$SystemLibraries "iconv" [$OSXALL]
}
}
$Project "bsppack"
{
$Folder "Source Files"
{
$File "..\common\bsplib.cpp"
$File "bsppack.cpp"
$File "..\common\cmdlib.cpp"
$File "$SRCDIR\public\filesystem_helpers.cpp"
$File "$SRCDIR\public\filesystem_helpers.h"
$File "$SRCDIR\public\filesystem_init.cpp"
$File "..\common\filesystem_tools.cpp"
$File "..\common\filesystem_tools.h"
$File "$SRCDIR\public\lumpfiles.cpp"
$File "..\common\scriplib.cpp"
$File "$SRCDIR\public\zip_utils.cpp"
$File "$SRCDIR\filesystem\linux_support.cpp" [$POSIX]
}
$Folder "Public Header Files"
{
$File "$SRCDIR\public\ibsppack.h"
$File "$SRCDIR\public\bspfile.h"
}
$Folder "Link Libraries"
{
$Lib mathlib
$Lib tier2
$Lib "$LIBCOMMON/lzma"
}
}