Skip to content

Conversation

yf13
Copy link

@yf13 yf13 commented Sep 2, 2024

This adds CMake support for linux/gnu/example_build so that to have the sample_threadx target built after the libthreadx.a target, make it easier for people to try the sample on Linux.

@yf13 yf13 changed the title ports/linux/gnu: add cmake for sample program linux/gnu: add cmake for sample Sep 2, 2024
@yf13 yf13 force-pushed the linux-sample-cmake branch from d076032 to 4398acd Compare September 5, 2024 01:43
This allows to build `sample_threadx` together with `libthreadx.a`.

Signed-off-by: Yanfeng Liu <yfliu2008@qq.com>
@yf13 yf13 force-pushed the linux-sample-cmake branch from 4398acd to 17c656e Compare September 5, 2024 10:21
This allows one to build `sample_threadx` with `libthreadx.a` by
adding `-DTHREADX_SAMPLE=1` to cmake command line.

Signed-off-by: Yanfeng Liu <yfliu2008@qq.com>
This allows to build SMP variant `libthreadx.a` with cmake.

Signed-off-by: Yanfeng Liu <yfliu2008@qq.com>
@yf13 yf13 force-pushed the linux-sample-cmake branch 2 times, most recently from 599709d to b70e00e Compare September 21, 2024 03:21
This allows to build SMP variant of `linux/gnu` port, and optionally
with `sample_threadx`.

Signed-off-by: Yanfeng Liu <yfliu2008@qq.com>
@yf13 yf13 force-pushed the linux-sample-cmake branch from b70e00e to 2f170bd Compare September 21, 2024 03:28
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant