CMakeLists.txt 508 B

123456789101112131415161718192021222324252627282930
  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. InputRoku.cpp
  10. InputRoku.h
  11. )
  12. if(APPLE)
  13. add_subdirectory(apple)
  14. endif(APPLE)
  15. if(SDL2_FOUND)
  16. list(APPEND INPUT_SRCS InputSDL.cpp InputSDL.h)
  17. endif(SDL2_FOUND)
  18. if(ENABLE_LIRC)
  19. list(APPEND INPUT_SRCS InputLIRC.cpp InputLIRC.h)
  20. endif(ENABLE_LIRC)
  21. if(CEC_FOUND)
  22. list(APPEND INPUT_SRCS InputCEC.cpp InputCEC.h)
  23. endif(CEC_FOUND)
  24. add_sources(${INPUT_SRCS})