2011-09-29 06:25:51 +00:00
###| CMake Kiibohd Controller Scan Module |###
#
# Written by Jacob Alexander in 2011 for the Kiibohd Controller
#
# Released into the Public Domain
#
###
2011-10-17 04:38:56 +00:00
###
# Warning, that this module is not meant to be built stand-alone
#
message ( FATAL_ERROR
" T h e ' m a t r i x ' m o d u l e i s n o t a s t a n d - a l o n e m o d u l e , a n d r e q u i r e s f u r t h e r s e t u p .
S e e B u d K e y p a d m o d u l e f o r a s a n e x a m p l e m o d u l e . "
)
2011-09-29 06:25:51 +00:00
###
# Module C files
#
set ( SCAN_SRCS
2011-10-16 03:01:46 +00:00
m a t r i x _ s c a n . c
2011-09-29 06:25:51 +00:00
s c a n _ l o o p . c
)
###
2011-09-29 22:30:24 +00:00
# Module Specific Options
2011-09-29 06:25:51 +00:00
#
2011-09-29 22:30:24 +00:00
add_definitions ( -I ${ HEAD_DIR } /Keymap )
2011-09-29 06:25:51 +00:00
2011-10-16 03:01:46 +00:00
add_definitions (
2011-10-17 04:38:56 +00:00
#-DMODIFIER_MASK=
#-DKEYINDEX_MASK=
2011-10-16 03:01:46 +00:00
)
2013-01-30 23:13:49 +00:00
###
# Compiler Family Compatibility
#
set ( ScanModuleCompatibility
a v r
)