mirror of
https://github.com/celisej567/source-engine.git
synced 2026-01-05 22:09:59 +03:00
1
This commit is contained in:
50
unitlib/unitlib.vpc
Normal file
50
unitlib/unitlib.vpc
Normal file
@@ -0,0 +1,50 @@
|
||||
//-----------------------------------------------------------------------------
|
||||
// UNITLIB.VPC
|
||||
//
|
||||
// Project Script
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
$Macro SRCDIR ".."
|
||||
$Macro OUTBINDIR "$SRCDIR\..\game\bin"
|
||||
|
||||
$Include "$SRCDIR\vpc_scripts\source_dll_base.vpc"
|
||||
|
||||
$Linux
|
||||
{
|
||||
$BuildForLinux 1
|
||||
}
|
||||
$Configuration
|
||||
{
|
||||
$Compiler
|
||||
{
|
||||
$PreprocessorDefinitions "$BASE;fopen=dont_use_fopen;UNITLIB_DLL_EXPORT"
|
||||
}
|
||||
|
||||
$PreLinkEvent [$WIN32]
|
||||
{
|
||||
$CommandLine "call $SRCDIR\vpc_scripts\valve_p4_edit.cmd $SRCDIR\lib\public\$(TargetName).lib $SRCDIR" "\n" \
|
||||
"call $SRCDIR\vpc_scripts\valve_p4_edit.cmd $SRCDIR\lib\public\$(TargetName).exp $SRCDIR" "\n" \
|
||||
"$BASE"
|
||||
}
|
||||
|
||||
|
||||
$Linker
|
||||
{
|
||||
$AdditionalDependencies "$BASE odbc32.lib odbccp32.lib"
|
||||
$ImportLibrary "$SRCDIR\lib\public\$(TargetName).lib"
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
$Project "Unitlib"
|
||||
{
|
||||
$Folder "Source Files"
|
||||
{
|
||||
$File "unitlib.cpp"
|
||||
}
|
||||
|
||||
$Folder "Header Files"
|
||||
{
|
||||
$File "$SRCDIR\public\unitlib\UnitLib.h"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user