From 6532d656de66131d41b8b3cc01e99f20d3498d0e Mon Sep 17 00:00:00 2001 From: Pascal Serrarens Date: Tue, 17 Jun 2025 17:58:07 +0200 Subject: [PATCH] Updated core code installation doc. --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 876fdf2..77862b9 100644 --- a/README.md +++ b/README.md @@ -23,9 +23,13 @@ Supporting: The repository uses cmake for building. You can place it in a subfolder of your project and include it in you `CMakeLists.txt`. For example if the library is placed in the subfolder `roboidcontrol`: ``` +# Add the path to Roboid Control add_subdirectory(roboidcontrol) -add_executable(my_executable main.cpp) # Your source files/executable +# Your source files/executable +add_executable(my_executable main.cpp) + +# Link against RoboidControl target_link_libraries(my_executable RoboidControl) ```