Updating setup.cmake files to use Module hierarchy implicitly

- Added AddModule CMake function which simplifies specifying module requirements
This commit is contained in:
Jacob Alexander 2015-01-25 17:53:48 -08:00
parent c9b1769608
commit 1e9f55a0bf
16 changed files with 125 additions and 349 deletions

View file

@ -1,6 +1,6 @@
###| CMake Kiibohd Controller Debug Module |###
#
# Written by Jacob Alexander in 2014 for the Kiibohd Controller
# Written by Jacob Alexander in 2014-2015 for the Kiibohd Controller
#
# Released into the Public Domain
#
@ -11,31 +11,15 @@
# Module C files
#
set( DEBUG_SRCS
set ( Module_SRCS
cli.c
)
###
# Setup File Dependencies
#
###
# Module Specific Options
#
###
# Just in case, you only want this module and are using others as well
#
add_definitions( -I${HEAD_DIR}/Debug/off )
###
# Compiler Family Compatibility
#
set( DebugModuleCompatibility
set ( ModuleCompatibility
arm
avr
)