Kiibohd Controller
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.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

setup.cmake 656B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. ###| CMake Kiibohd Controller USB Module |###
  2. #
  3. # Written by Jacob Alexander in 2011-2015 for the Kiibohd Controller
  4. #
  5. # Released into the Public Domain
  6. #
  7. ###
  8. ###
  9. # Module C files
  10. #
  11. #| AVR Compiler
  12. if ( ${COMPILER_FAMILY} MATCHES "avr" )
  13. set ( Module_SRCS
  14. output_com.c
  15. avr/usb_keyboard_serial.c
  16. )
  17. #| ARM Compiler
  18. elseif ( ${COMPILER_FAMILY} MATCHES "arm" )
  19. set ( Module_SRCS
  20. output_com.c
  21. arm/usb_desc.c
  22. arm/usb_dev.c
  23. arm/usb_joystick.c
  24. arm/usb_keyboard.c
  25. arm/usb_mem.c
  26. arm/usb_mouse.c
  27. arm/usb_serial.c
  28. )
  29. endif ( ${COMPILER_FAMILY} MATCHES "avr" )
  30. ###
  31. # Compiler Family Compatibility
  32. #
  33. set( ModuleCompatibility
  34. arm
  35. avr
  36. )