]> git.donarmstrong.com Git - kiibohd-controller.git/blobdiff - Scan/matrix/setup.cmake
Merge branch 'master' of github.com:kiibohd/controller
[kiibohd-controller.git] / Scan / matrix / setup.cmake
index b529a5178879342bcb1128e4cff37340f8878892..0c1854dd84a813e2205c42064461496fb48cadc1 100644 (file)
@@ -1,18 +1,25 @@
 ###| CMake Kiibohd Controller Scan Module |###
 #
-# Written by Jacob Alexander in 2011 for the Kiibohd Controller
+# Written by Jacob Alexander in 2011,2014 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.c
+       matrix_scan.c
        scan_loop.c
 )
 
@@ -20,5 +27,12 @@ set( SCAN_SRCS
 ###
 # Module Specific Options
 #
-add_definitions( -I${HEAD_DIR}/Keymap )
+
+
+###
+# Compiler Family Compatibility
+#
+set( ScanModuleCompatibility
+       avr
+)