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 674B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. ###| CMake Kiibohd Controller USB Module |###
  2. #
  3. # Written by Jacob Alexander in 2011-2016 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_rawio.c
  28. arm/usb_serial.c
  29. )
  30. endif ( ${COMPILER_FAMILY} MATCHES "avr" )
  31. ###
  32. # Compiler Family Compatibility
  33. #
  34. set( ModuleCompatibility
  35. arm
  36. avr
  37. )