CMakeLists.txt 478 B

12345678910111213141516171819202122232425262728
  1. set(INPUT_SRCS
  2. InputComponent.cpp
  3. InputComponent.h
  4. InputMapping.cpp
  5. InputMapping.h
  6. InputKeyboard.h
  7. InputSocket.h
  8. InputSocket.cpp
  9. )
  10. if(APPLE)
  11. add_subdirectory(apple)
  12. endif(APPLE)
  13. if(SDL2_FOUND)
  14. list(APPEND INPUT_SRCS InputSDL.cpp InputSDL.h)
  15. endif(SDL2_FOUND)
  16. if(ENABLE_LIRC)
  17. list(APPEND INPUT_SRCS InputLIRC.cpp InputLIRC.h)
  18. endif(ENABLE_LIRC)
  19. if(CEC_FOUND)
  20. list(APPEND INPUT_SRCS InputCEC.cpp InputCEC.h)
  21. endif(CEC_FOUND)
  22. add_sources(${INPUT_SRCS})