view Debug/full/setup.cmake @ 104:e84738d174bc

Moving USB to Output in preparation for additional Output types. * Initial cli code
author Jacob Alexander <haata@kiibohd.com>
date Sun, 19 Jan 2014 16:40:36 -0800
parents 8a344117d851
children 8dab4014c398
line wrap: on
line source

###| CMake Kiibohd Controller Debug Module |###
#
# Written by Jacob Alexander in 2011-2014 for the Kiibohd Controller
#
# Released into the Public Domain
#
###


###
# Module C files
#

#| XXX Requires the ../ due to how the paths are constructed
set( DEBUG_SRCS
	../cli/cli.c
	../led/led.c
	../print/print.c
)


###
# Setup File Dependencies
#
add_file_dependencies( ../led/led.c ../led/led.h )
add_file_dependencies( ../print/print.c ../print/print.h )


###
# Module Specific Options
#
add_definitions(
	-I${HEAD_DIR}/Debug/cli
	-I${HEAD_DIR}/Debug/led
	-I${HEAD_DIR}/Debug/print
)


###
# Compiler Family Compatibility
#
set( DebugModuleCompatibility
	arm
	avr
)