2011-09-29 06:25:51 +00:00
|
|
|
###| CMake Kiibohd Controller Debug Module |###
|
|
|
|
#
|
2014-01-20 00:40:36 +00:00
|
|
|
# Written by Jacob Alexander in 2011-2014 for the Kiibohd Controller
|
2011-09-29 06:25:51 +00:00
|
|
|
#
|
|
|
|
# Released into the Public Domain
|
|
|
|
#
|
|
|
|
###
|
|
|
|
|
|
|
|
|
|
|
|
###
|
|
|
|
# Module C files
|
|
|
|
#
|
|
|
|
|
2011-09-30 05:22:19 +00:00
|
|
|
#| XXX Requires the ../ due to how the paths are constructed
|
2011-09-29 06:25:51 +00:00
|
|
|
set( DEBUG_SRCS
|
2014-01-20 00:40:36 +00:00
|
|
|
../cli/cli.c
|
2011-09-30 05:22:19 +00:00
|
|
|
../led/led.c
|
|
|
|
../print/print.c
|
2011-09-29 06:25:51 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
|
2011-11-29 06:20:04 +00:00
|
|
|
###
|
|
|
|
# Setup File Dependencies
|
|
|
|
#
|
|
|
|
add_file_dependencies( ../led/led.c ../led/led.h )
|
2014-01-20 00:40:36 +00:00
|
|
|
add_file_dependencies( ../print/print.c ../print/print.h )
|
2011-11-29 06:20:04 +00:00
|
|
|
|
|
|
|
|
2011-09-29 06:25:51 +00:00
|
|
|
###
|
|
|
|
# Module Specific Options
|
|
|
|
#
|
2011-09-30 05:22:19 +00:00
|
|
|
add_definitions(
|
2014-01-20 00:40:36 +00:00
|
|
|
-I${HEAD_DIR}/Debug/cli
|
2011-09-30 05:22:19 +00:00
|
|
|
-I${HEAD_DIR}/Debug/led
|
|
|
|
-I${HEAD_DIR}/Debug/print
|
|
|
|
)
|
2011-09-29 06:25:51 +00:00
|
|
|
|
2013-01-30 23:13:49 +00:00
|
|
|
|
|
|
|
###
|
|
|
|
# Compiler Family Compatibility
|
|
|
|
#
|
|
|
|
set( DebugModuleCompatibility
|
|
|
|
arm
|
|
|
|
avr
|
|
|
|
)
|
|
|
|
|