Skip to content

Commit 0335b24

Browse files
committed
CMakeLists.txt: add THREADX_SAMPLE option
This allows to build `sample_threadx` together with `libthreadx.a`. Signed-off-by: Yanfeng Liu <yfliu2008@qq.com>
1 parent 485a02f commit 0335b24

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,10 @@ endif()
1111
if(NOT DEFINED THREADX_TOOLCHAIN)
1212
message(FATAL_ERROR "Error: THREADX_TOOLCHAIN not defined")
1313
endif()
14-
message(STATUS "THREADX_ARCH: ${THREADX_ARCH}")
14+
15+
message(STATUS "THREADX_ARCH: ${THREADX_ARCH}")
1516
message(STATUS "THREADX_TOOLCHAIN: ${THREADX_TOOLCHAIN}")
17+
message(STATUS "THREADX_SAMPLE: ${THREADX_SAMPLE}")
1618

1719
# Define our target library and an alias for consumers
1820
add_library(${PROJECT_NAME})

0 commit comments

Comments
 (0)