Updated core code installation doc.

This commit is contained in:
Pascal Serrarens 2025-06-17 17:58:07 +02:00
parent f4d36ad960
commit 6532d656de

View File

@ -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)
```