1 2target_sources(${PROJECT_NAME} 3 PRIVATE 4 # {{BEGIN_TARGET_SOURCES}} 5 ${CMAKE_CURRENT_LIST_DIR}/src/tx_initialize_low_level.c 6 ${CMAKE_CURRENT_LIST_DIR}/src/tx_thread_context_restore.c 7 ${CMAKE_CURRENT_LIST_DIR}/src/tx_thread_context_save.c 8 ${CMAKE_CURRENT_LIST_DIR}/src/tx_thread_interrupt_control.c 9 ${CMAKE_CURRENT_LIST_DIR}/src/tx_thread_schedule.c 10 ${CMAKE_CURRENT_LIST_DIR}/src/tx_thread_stack_build.c 11 ${CMAKE_CURRENT_LIST_DIR}/src/tx_thread_system_return.c 12 ${CMAKE_CURRENT_LIST_DIR}/src/tx_timer_interrupt.c 13 14 # {{END_TARGET_SOURCES}} 15) 16 17target_include_directories(${PROJECT_NAME} 18 PUBLIC 19 ${CMAKE_CURRENT_LIST_DIR}/inc 20) 21 22target_compile_definitions(${PROJECT_NAME} PUBLIC "-D_GNU_SOURCE -DTX_LINUX_DEBUG_ENABLE")