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

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. ###| CMake Kiibohd Controller Debug Module |###
  2. #
  3. # Written by Jacob Alexander in 2011-2014 for the Kiibohd Controller
  4. #
  5. # Released into the Public Domain
  6. #
  7. ###
  8. ###
  9. # Module C files
  10. #
  11. #| XXX Requires the ../ due to how the paths are constructed
  12. set( DEBUG_SRCS
  13. ../cli/cli.c
  14. ../led/led.c
  15. ../print/print.c
  16. )
  17. ###
  18. # Setup File Dependencies
  19. #
  20. add_file_dependencies( ../led/led.c ../led/led.h )
  21. add_file_dependencies( ../print/print.c ../print/print.h )
  22. ###
  23. # Module Specific Options
  24. #
  25. add_definitions(
  26. -I${HEAD_DIR}/Debug/cli
  27. -I${HEAD_DIR}/Debug/led
  28. -I${HEAD_DIR}/Debug/print
  29. )
  30. ###
  31. # Compiler Family Compatibility
  32. #
  33. set( DebugModuleCompatibility
  34. arm
  35. avr
  36. )