Team Fortress 2 Source Code as on 22/4/2020
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.

55 lines
1.4 KiB

  1. //-----------------------------------------------------------------------------
  2. // INPUTSYSTEM.VPC
  3. //
  4. // Project Script
  5. //-----------------------------------------------------------------------------
  6. $macro SRCDIR ".."
  7. $Macro OUTBINDIR "$SRCDIR\..\game\bin"
  8. $include "$SRCDIR\vpc_scripts\source_dll_base.vpc"
  9. $Configuration
  10. {
  11. $Compiler
  12. {
  13. $AdditionalIncludeDirectories "$BASE;$SRCDIR\thirdparty\SDL2" [!$SDL] // If $SDL, then we already have this from source_video_base.vpc.
  14. $PreprocessorDefinitions "$BASE;VERSION_SAFE_STEAM_API_INTERFACES"
  15. }
  16. $Linker
  17. {
  18. $SystemLibraries "iconv" [$OSXALL]
  19. $SystemFrameworks "IOKit;Carbon;ForceFeedback"
  20. }
  21. }
  22. $Project "inputsystem"
  23. {
  24. $Folder "Source Files"
  25. {
  26. $File "inputsystem.cpp"
  27. $File "inputsystem.h"
  28. $File "joystick_sdl.cpp"
  29. $File "novint.cpp" [$WIN32]
  30. $File "key_translation.cpp"
  31. $File "key_translation.h"
  32. $File "steamcontroller.cpp"
  33. }
  34. $Folder "Public Headers"
  35. {
  36. $File "$SRCDIR\public\inputsystem\AnalogCode.h"
  37. $File "$SRCDIR\public\inputsystem\ButtonCode.h"
  38. $File "$SRCDIR\public\inputsystem\iinputsystem.h"
  39. $File "$SRCDIR\public\inputsystem\InputEnums.h"
  40. $File "$SRCDIR\dx9sdk\include\xinput.h" [$WIN32]
  41. }
  42. $Folder "Link Libraries"
  43. {
  44. $Lib tier1
  45. $Lib tier2
  46. $ImpLib SDL2
  47. $Implib "steam_api" [($WIN32||$WIN64||$POSIX||$PS3)&&!$NO_STEAM]
  48. }
  49. }