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

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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_keyboard.c
  24. arm/usb_mem.c
  25. arm/usb_serial.c
  26. )
  27. endif ( ${COMPILER_FAMILY} MATCHES "avr" )
  28. ###
  29. # Compiler Family Compatibility
  30. #
  31. set( ModuleCompatibility
  32. arm
  33. avr
  34. )