]> git.donarmstrong.com Git - kiibohd-controller.git/blob - Scan/matrix/setup.cmake
Making sub-modules of matrix for HeathZenith and BudKeypad
[kiibohd-controller.git] / Scan / matrix / setup.cmake
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 ###
10 # Warning, that this module is not meant to be built stand-alone
11 #
12 message( FATAL_ERROR
13 "The 'matrix' module is not a stand-alone module, and requires further setup.
14 See BudKeypad module for as an example module."
15 )
16
17 ###
18 # Module C files
19 #
20
21 set( SCAN_SRCS
22         matrix_scan.c
23         scan_loop.c
24 )
25
26
27 ###
28 # Module Specific Options
29 #
30 add_definitions( -I${HEAD_DIR}/Keymap )
31
32 add_definitions(
33         #-DMODIFIER_MASK=
34         #-DKEYINDEX_MASK=
35 )
36