Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

linux/gnu: add cmake for sample #404

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

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
This allows to build `sample_threadx` together with `libthreadx.a`.

Signed-off-by: Yanfeng Liu <yfliu2008@qq.com>
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant