Initial commit
This commit is contained in:
25
ports/linux/gnu/CMakeLists.txt
Normal file
25
ports/linux/gnu/CMakeLists.txt
Normal file
@@ -0,0 +1,25 @@
|
||||
# For this port, we need to tell the common subdirectory to not include these files
|
||||
set(TX_SRC_OVERRIDES
|
||||
"tx_thread_delete.c"
|
||||
"tx_thread_reset.c"
|
||||
CACHE STRING "tx source overrides")
|
||||
|
||||
target_sources(${PROJECT_NAME}
|
||||
PRIVATE
|
||||
# {{BEGIN_TARGET_SOURCES}}
|
||||
${CMAKE_CURRENT_LIST_DIR}/src/tx_thread_context_restore.c
|
||||
${CMAKE_CURRENT_LIST_DIR}/src/tx_thread_context_save.c
|
||||
${CMAKE_CURRENT_LIST_DIR}/src/tx_thread_interrupt_control.c
|
||||
${CMAKE_CURRENT_LIST_DIR}/src/tx_thread_schedule.c
|
||||
${CMAKE_CURRENT_LIST_DIR}/src/tx_thread_stack_build.c
|
||||
${CMAKE_CURRENT_LIST_DIR}/src/tx_thread_system_return.c
|
||||
${CMAKE_CURRENT_LIST_DIR}/src/tx_timer_interrupt.c
|
||||
|
||||
# {{END_TARGET_SOURCES}}
|
||||
)
|
||||
|
||||
target_include_directories(${PROJECT_NAME}
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_LIST_DIR}/inc
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user