diff options
| author | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
|---|---|---|
| committer | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
| commit | 3bf9df6b2785fa6d951086978a3e66f49427166a (patch) | |
| tree | 2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /inputsystem/inputsystem.vpc | |
| download | archived-source-engine-2018-hl2-src-master.tar.xz archived-source-engine-2018-hl2-src-master.zip | |
Diffstat (limited to 'inputsystem/inputsystem.vpc')
| -rw-r--r-- | inputsystem/inputsystem.vpc | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/inputsystem/inputsystem.vpc b/inputsystem/inputsystem.vpc new file mode 100644 index 0000000..a9c2956 --- /dev/null +++ b/inputsystem/inputsystem.vpc @@ -0,0 +1,55 @@ +//----------------------------------------------------------------------------- +// INPUTSYSTEM.VPC +// +// Project Script +//----------------------------------------------------------------------------- + +$macro SRCDIR ".." +$Macro OUTBINDIR "$SRCDIR\..\game\bin" + +$include "$SRCDIR\vpc_scripts\source_dll_base.vpc" + +$Configuration +{ + $Compiler + { + $AdditionalIncludeDirectories "$BASE;$SRCDIR\thirdparty\SDL2" [!$SDL] // If $SDL, then we already have this from source_video_base.vpc. + $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" + } + + $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] + } +} |