Archived
1
0
This repo is archived. You can view files and clone it, but cannot push or open issues or pull requests.
controller/Output/uartOut/setup.cmake
Jacob Alexander 5f262ea4b6 Code cleanup
- Changing header file ifndef define to pragma once's
- Removed duplicate output_com.h's
2015-06-14 14:33:40 -07:00

51 lines
631 B
CMake

###| CMake Kiibohd Controller UART Output Module |###
#
# Written by Jacob Alexander in 2014-2015 for the Kiibohd Controller
#
# Released into the Public Domain
#
###
###
# Module C files
#
#| AVR Compiler
if ( ${COMPILER_FAMILY} MATCHES "avr" )
set ( Module_SRCS
output_com.c
avr/uart_serial.c
)
#| ARM Compiler
elseif ( ${COMPILER_FAMILY} MATCHES "arm" )
set ( Module_SRCS
output_com.c
arm/uart_serial.c
)
endif ()
###
# Includes
#
# Use pjrcUSB output_com.h
include_directories (
${CMAKE_CURRENT_LIST_DIR}/../pjrcUSB
)
###
# Compiler Family Compatibility
#
set( ModuleCompatibility
arm
# avr # TODO
)