fc7998d605
- All modules have a default avr compatibilty right now (since that is what they were developed on) - As modules get tested and added, arm support has to be turned on in the respective setup.cmake file
45 lines
621 B
CMake
45 lines
621 B
CMake
###| CMake Kiibohd Controller Debug Module |###
|
|
#
|
|
# Written by Jacob Alexander in 2011 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
|
|
../led/led.c
|
|
../print/print.c
|
|
)
|
|
|
|
|
|
###
|
|
# Setup File Dependencies
|
|
#
|
|
add_file_dependencies( ../led/led.c ../led/led.h )
|
|
add_file_dependencies( ../led/print.c ../led/print.h )
|
|
|
|
|
|
###
|
|
# Module Specific Options
|
|
#
|
|
add_definitions(
|
|
-I${HEAD_DIR}/Debug/led
|
|
-I${HEAD_DIR}/Debug/print
|
|
)
|
|
|
|
|
|
###
|
|
# Compiler Family Compatibility
|
|
#
|
|
set( DebugModuleCompatibility
|
|
arm
|
|
avr
|
|
)
|
|
|