Archived
1
0
This repo is archived. You can view files and clone it, but cannot push or open issues or pull requests.
controller/Scan/matrix/setup.cmake
Jacob Alexander fc7998d605 Adding module compatibility check to CMake build scripts.
- All modules have a default avr compatibilty right now (since that is what they were developed on)
- As modules get tested and added, arm support has to be turned on in the respective setup.cmake file
2013-01-30 18:13:49 -05:00

45 lines
655 B
CMake

###| CMake Kiibohd Controller Scan Module |###
#
# Written by Jacob Alexander in 2011 for the Kiibohd Controller
#
# Released into the Public Domain
#
###
###
# Warning, that this module is not meant to be built stand-alone
#
message( FATAL_ERROR
"The 'matrix' module is not a stand-alone module, and requires further setup.
See BudKeypad module for as an example module."
)
###
# Module C files
#
set( SCAN_SRCS
matrix_scan.c
scan_loop.c
)
###
# Module Specific Options
#
add_definitions( -I${HEAD_DIR}/Keymap )
add_definitions(
#-DMODIFIER_MASK=
#-DKEYINDEX_MASK=
)
###
# Compiler Family Compatibility
#
set( ScanModuleCompatibility
avr
)