Counter Strike : Global Offensive Source Code
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.

72 lines
2.1 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. $PreprocessorDefinitions "$BASE;NO_STRING_T;VERSION_SAFE_STEAM_API_INTERFACES;PROTECTED_THINGS_ENABLE"
  14. $PreprocessorDefinitions "$BASE;INCLUDE_SCALEFORM" [$WIN32]
  15. }
  16. $Linker [!$PS3]
  17. {
  18. $AdditionalDependencies "$BASE Winmm.lib" [$WINDOWS]
  19. $AdditionalDependencies "$BASE imm32.lib" [$WINDOWS]
  20. $SystemLibraries "iconv" [$OSXALL]
  21. $SystemFrameworks "Carbon;ForceFeedback;IOKit"
  22. $SystemLibraries "SDL2" [$LINUXALL]
  23. }
  24. $Linker [$PS3]
  25. {
  26. $AdditionalDependencies "$BASE $SCE_PPU_LIBROOT\libio_stub.a $SCE_PPU_LIBROOT\libcamera_stub.a $SCE_PPU_LIBROOT\libgem_stub.a $SCE_PPU_LIBROOT\libspurs_stub.a $SCE_PPU_LIBROOT\libgcm_cmd.a $SCE_PPU_LIBROOT\libgcm_sys_stub.a"
  27. }
  28. }
  29. $Project "inputsystem"
  30. {
  31. $Folder "Source Files"
  32. {
  33. $File "inputstacksystem.cpp"
  34. $File "inputsystem.cpp"
  35. $File "inputsystem.h"
  36. $File "joystick.cpp" [!$POSIX]
  37. $File "joystick_osx.cpp" [$OSXALL]
  38. $File "joystick_linux.cpp" [$LINUXALL]
  39. $File "steamcontroller.cpp"
  40. $File "key_translation.cpp"
  41. $File "key_translation.h"
  42. $File "movecontroller_ps3.cpp" [$PS3]
  43. $File "movecontroller_ps3.h" [$PS3]
  44. $File "xcontroller.cpp" [!$POSIX]
  45. $File "$SRCDIR\common\platforminputdevice.cpp"
  46. }
  47. $Folder "Public Headers"
  48. {
  49. $File "$SRCDIR\public\inputsystem\AnalogCode.h"
  50. $File "$SRCDIR\public\inputsystem\ButtonCode.h"
  51. $File "$SRCDIR\public\inputsystem\iinputsystem.h"
  52. $File "$SRCDIR\public\inputsystem\iinputstacksystem.h"
  53. $File "$SRCDIR\public\inputsystem\InputEnums.h"
  54. $File "$SRCDIR\dx9sdk\include\XInput.h"
  55. $File "$SRCDIR\common\platforminputdevice.h"
  56. }
  57. $Folder "Link Libraries"
  58. {
  59. $Lib "tier2"
  60. $Lib "mathlib"
  61. $ImplibExternal steam_api [ ( $WIN32 || $POSIX || $PS3 ) && !$NO_STEAM ]
  62. $ImplibExternal steam_api64 [ $WIN64 && !$NO_STEAM ]
  63. }
  64. }