]> git.donarmstrong.com Git - kiibohd-controller.git/blobdiff - Debug/full/setup.cmake
Merge pull request #71 from glguy/pr-cli-history
[kiibohd-controller.git] / Debug / full / setup.cmake
index e8f8205e95c30ba428e31efa0060f05e2fa770af..2fe86918109a561fde573c24dbca6324b9e52dcd 100644 (file)
@@ -1,6 +1,6 @@
 ###| CMake Kiibohd Controller Debug Module |###
 #
-# Written by Jacob Alexander in 2011 for the Kiibohd Controller
+# Written by Jacob Alexander in 2011-2015 for the Kiibohd Controller
 #
 # Released into the Public Domain
 #
@@ -8,21 +8,19 @@
 
 
 ###
-# Module C files
+# Required Submodules
 #
 
-#| XXX Requires the ../ due to how the paths are constructed
-set( DEBUG_SRCS
-       ../led/led.c
-       ../print/print.c
-)
+AddModule ( Debug cli )
+AddModule ( Debug led )
+AddModule ( Debug print )
 
 
 ###
-# Module Specific Options
+# Compiler Family Compatibility
 #
-add_definitions(
-       -I${HEAD_DIR}/Debug/led
-       -I${HEAD_DIR}/Debug/print
+set ( ModuleCompatibility
+       arm
+       avr
 )