aboutsummaryrefslogtreecommitdiff
path: root/circuitpython/extmod/ulab/code/micropython.cmake
blob: 66890c0dbeb04d68cc7ee1860945e6943bcd7357 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
add_library(usermod_ulab INTERFACE)

file(GLOB_RECURSE ULAB_SOURCES ${CMAKE_CURRENT_LIST_DIR}/*.c)

target_sources(usermod_ulab INTERFACE
    ${ULAB_SOURCES}
)

target_include_directories(usermod_ulab INTERFACE
    ${CMAKE_CURRENT_LIST_DIR}
)

target_compile_definitions(usermod_ulab INTERFACE
    MODULE_ULAB_ENABLED=1
)

target_link_libraries(usermod INTERFACE usermod_ulab)