source-engine/engine/voice_codecs/speex/vaudio_speex.vpc

59 lines
1.5 KiB
Plaintext
Raw Normal View History

2020-04-22 16:56:21 +00:00
//-----------------------------------------------------------------------------
// VAUDIO_SPEEX.VPC
//
// Project Script
//-----------------------------------------------------------------------------
$Macro SRCDIR "..\..\.."
$Macro OUTBINDIR "$SRCDIR\..\game\bin"
$Include "$SRCDIR\vpc_scripts\source_dll_base.vpc"
$Configuration
{
$Compiler
{
$AdditionalIncludeDirectories "$BASE,..\frame_encoder,..\..\..\public,..\..\..\public\tier1,..\..,..\..\..\common,.\source\libspeex,..\..\audio\public"
$PreprocessorDefinitions "$BASE;SPEEX_EXPORTS"
}
$Linker
{
$SystemLibraries "iconv" [$OSXALL]
}
}
$Project "vaudio_speex"
{
$Folder "Source Files"
{
$File "$SRCDIR\tier1\interface.cpp"
$File "..\frame_encoder\voice_codec_frame.cpp"
$File "VoiceEncoder_Speex.cpp"
}
$Folder "Header Files"
{
$File "$SRCDIR\public\tier1\interface.h"
$File "$SRCDIR\public\vaudio\ivaudio.h"
$File "VoiceEncoder_Speex.h"
}
$Folder "Link Libraries"
{
$File "source\win32\libspeex\Release\libspeex.lib" [$WIN32&&!$VS2015]
$Lib "$LIBCOMMON/libspeex" [$POSIX]
}
$Folder "Link Libraries" [$VS2015]
{
$File "$SRCDIR\engine\voice_codecs\speex\source\win32\libspeex\2015\release\libspeex.lib" [$WIN32]
{
$Configuration "Debug" { $ExcludedFromBuild "Yes" }
}
$File "$SRCDIR\engine\voice_codecs\speex\source\win32\libspeex\2015\debug\libspeex.lib" [$WIN32]
{
$Configuration "Release" { $ExcludedFromBuild "Yes" }
}
}
}