]> git.donarmstrong.com Git - kiibohd-controller.git/blobdiff - CMakeLists.txt
Move matrix information to a cli command
[kiibohd-controller.git] / CMakeLists.txt
index af19f0b0cb16ee0e06fa1df5e0a8081ed785bd71..ec9fb621ca256aed8838dcc83dca6a112e6f837f 100644 (file)
@@ -1,6 +1,6 @@
 ###| CMAKE Kiibohd Controller |###
 #
-# Jacob Alexander 2011-2014
+# Jacob Alexander 2011-2016
 # Due to this file's usefulness:
 #
 # Released into the Public Domain
@@ -23,9 +23,10 @@ set( CHIP
 #       "at90usb1286"      # Teensy++ 2.0 (avr)
 #       "mk20dx128"        # Teensy   3.0 (arm)
        "mk20dx128vlf5"    # McHCK       mk20dx128vlf5
-#       "mk20dx256"        # Teensy   3.1 (arm)
+#       "mk20dx256"        # Teensy   3.1,3.2 (arm)
 #       "mk20dx256vlh7"    # Kiibohd-dfu mk20dx256vlh7
-       CACHE STRING "Microcontroller Chip" )
+       CACHE STRING "Microcontroller Chip"
+)
 
 
 
@@ -33,13 +34,14 @@ set( CHIP
 # Compiler Selection
 #
 
-#| *** EXPERIMENTAL ***
-#| Stick with gcc unless you know what you're doing
+#| gcc has been tested much more (and will likely give smaller binaries)
+#| clang does work though
 #| Currently only arm is supported with clang
 set( COMPILER
        "gcc"   # arm-none-eabi-gcc / avr-gcc - Default
 #       "clang" # arm-none-eabi
-       CACHE STRING "Compiler Type" )
+       CACHE STRING "Compiler Type"
+)
 
 
 
@@ -72,11 +74,13 @@ set(  MacroModule "PartialMap"
 
 ##| Sends the current list of usb key codes through USB HID
 set( OutputModule "pjrcUSB"
-       CACHE STRING "Output Module" )
+       CACHE STRING "Output Module"
+)
 
 ##| Debugging source to use, each module has it's own set of defines that it sets
 set(  DebugModule "full"
-       CACHE STRING "Debug Module" )
+       CACHE STRING "Debug Module"
+)
 
 
 
@@ -106,7 +110,6 @@ set(  DebugModule "full"
 
 ##| Set the base keyboard .kll map, defaults to "defaultMap" if not found
 ##| Looks in Scan/<Module Name> for the available BaseMaps
-##| TODO Support layering in basemap
 set(     BaseMap "defaultMap"
        CACHE STRING "KLL BaseMap/Scancode Keymapping" )