You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
955 B
45 lines
955 B
//-----------------------------------------------------------------------------
|
|
// UNITLIB.VPC
|
|
//
|
|
// Project Script
|
|
//-----------------------------------------------------------------------------
|
|
|
|
$Macro SRCDIR ".."
|
|
$Macro OUTBINDIR "$SRCDIR\..\game\bin"
|
|
|
|
$Include "$SRCDIR\vpc_scripts\source_dll_base.vpc"
|
|
|
|
$Configuration
|
|
{
|
|
$Compiler
|
|
{
|
|
$PreprocessorDefinitions "$BASE;UNITLIB_DLL_EXPORT"
|
|
}
|
|
$PreLinkEvent [!$POSIX]
|
|
{
|
|
$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 [!$POSIX]
|
|
{
|
|
$AdditionalDependencies "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"
|
|
}
|
|
}
|