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

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. ###| CMake Kiibohd Controller Scan Module |###
  2. #
  3. # Written by Jacob Alexander in 2011 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( SCAN_SRCS
  13. ../matrix/matrix_scan.c
  14. ../matrix/scan_loop.c
  15. )
  16. ###
  17. # Module Specific Options
  18. #
  19. add_definitions( -I${HEAD_DIR}/Keymap )
  20. add_definitions(
  21. -I${HEAD_DIR}/Scan/matrix
  22. )
  23. #| Keymap Settings
  24. add_definitions(
  25. -DMODIFIER_MASK=budkeypad_ModifierMask
  26. #-DKEYINDEX_MASK=budkeypad_TheProfosistMap
  27. -DKEYINDEX_MASK=budkeypad_DefaultMap
  28. )
  29. ###
  30. # Compiler Family Compatibility
  31. #
  32. set( ScanModuleCompatibility
  33. avr
  34. )