# EFM32 EM_USB CMake file
# Configures the EM_USB and adds it to the build

##### Files #####

# Headers
include_directories(${CMAKE_CURRENT_LIST_DIR}/inc)

# Source files
FILE(GLOB EFM_USB_SOURCES ${CMAKE_CURRENT_LIST_DIR}/src/*.c)

##### Outputs #####

# USB library cannot be linked as a library or weak ISR symbols will not be resolved
# As such, it is reccomended to include ${EFM_USB_SOURCES} in your target compilation

# Create emlib library
#add_library(emusb ${EFM_USB_SOURCES})

# Add library to build
# set(LIBS ${LIBS} emusb)
