Skip to contentSkip to conversation

How can I use RTDM skin in cmake

DISCUSSION Ivan Jiang 2 participants 2 messages Apr 28, 2022

lore
Share & tools
lore

Ivan Jiang

author
#0 lore raw

Dear Xenomais’

       I know how to use RTDM Skin in makefile wich --rtdm in CFLAGS LFLAGS.

       But if some cpp threads should use CMAKE and I really don’t know how to edit cmakelists with this skin.

       Need all your helps.

       Thank you.

Best Regards.,

Ivan

#1 lore raw
Quoted 8 lines · Ivan Jiang via Xenomai

Dear Xenomais’

I know how to use RTDM Skin in makefile wich --rtdm in CFLAGS LFLAGS.

But if some cpp threads should use CMAKE and I really don’t know how to edit cmakelists with this skin.

xeno-config will show you all needed linker and compiler flags. You can directly use these flags in CMake,
or any other build system. Lookup in the CMake documentation how to set compiler/linker flags.
But there is no need to embedded the call to xeno-config in your build system.

Signature · 2 lines
Thanks,
//richard