source-engine/inputsystem/inputsystem.vpc

57 lines
1.4 KiB
Plaintext
Raw Permalink Normal View History

2020-04-22 16:56:21 +00:00
//-----------------------------------------------------------------------------
// INPUTSYSTEM.VPC
//
// Project Script
//-----------------------------------------------------------------------------
$macro SRCDIR ".."
2022-01-13 14:18:38 +00:00
$Macro OUTBINDIR "$SRCDIR\..\game\bin"
2020-04-22 16:56:21 +00:00
$include "$SRCDIR\vpc_scripts\source_dll_base.vpc"
$Configuration
{
$Compiler
{
2022-01-13 14:18:38 +00:00
$AdditionalIncludeDirectories "$BASE;$SRCDIR\thirdparty\SDL" [!$SDL] // If $SDL, then we already have this from source_video_base.vpc.
2020-04-22 16:56:21 +00:00
$PreprocessorDefinitions "$BASE;VERSION_SAFE_STEAM_API_INTERFACES"
}
$Linker
{
$SystemLibraries "iconv" [$OSXALL]
$SystemFrameworks "IOKit;Carbon;ForceFeedback"
}
}
$Project "inputsystem"
{
$Folder "Source Files"
{
$File "inputsystem.cpp"
$File "inputsystem.h"
$File "joystick_sdl.cpp"
$File "novint.cpp" [$WIN32]
$File "key_translation.cpp"
$File "key_translation.h"
$File "steamcontroller.cpp"
2022-01-13 14:18:38 +00:00
$File "touch_sdl.cpp"
2020-04-22 16:56:21 +00:00
}
$Folder "Public Headers"
{
$File "$SRCDIR\public\inputsystem\AnalogCode.h"
$File "$SRCDIR\public\inputsystem\ButtonCode.h"
$File "$SRCDIR\public\inputsystem\iinputsystem.h"
$File "$SRCDIR\public\inputsystem\InputEnums.h"
$File "$SRCDIR\dx9sdk\include\xinput.h" [$WIN32]
}
$Folder "Link Libraries"
{
$Lib tier1
$Lib tier2
$ImpLib SDL2
$Implib "steam_api" [($WIN32||$WIN64||$POSIX||$PS3)&&!$NO_STEAM]
}
}