2012-10-04 12:07:06 -07:00
|
|
|
###| CMake Kiibohd Controller Scan Module |###
|
|
|
|
#
|
2014-04-06 11:49:27 -07:00
|
|
|
# Written by Jacob Alexander in 2012,2014 for the Kiibohd Controller
|
2012-10-04 12:07:06 -07:00
|
|
|
#
|
|
|
|
# Released into the Public Domain
|
|
|
|
#
|
|
|
|
###
|
|
|
|
|
|
|
|
|
|
|
|
###
|
|
|
|
# Module C files
|
|
|
|
#
|
|
|
|
|
|
|
|
#| XXX Requires the ../ due to how the paths are constructed
|
|
|
|
set( SCAN_SRCS
|
|
|
|
../matrix/matrix_scan.c
|
|
|
|
../matrix/scan_loop.c
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
###
|
|
|
|
# Module Specific Options
|
|
|
|
#
|
|
|
|
add_definitions(
|
|
|
|
-I${HEAD_DIR}/Scan/matrix
|
2014-03-31 01:07:48 -07:00
|
|
|
)
|
2012-10-04 12:07:06 -07:00
|
|
|
|
2013-01-30 18:13:49 -05:00
|
|
|
|
|
|
|
###
|
|
|
|
# Compiler Family Compatibility
|
|
|
|
#
|
|
|
|
set( ScanModuleCompatibility
|
2014-04-09 20:06:19 -07:00
|
|
|
arm
|
2013-01-30 18:13:49 -05:00
|
|
|
avr
|
|
|
|
)
|
|
|
|
|