RoboidControl-cpp/examples/CMakeLists.txt

9 lines
246 B
CMake

# examples/CMakeLists.txt
# Check if the options are enabled and add the corresponding examples
if(BUILD_EXAMPLE_BB2A)
add_executable(BB2A BB2A/main.cpp) # Adjust the path as necessary
target_link_libraries(BB2A RoboidControl)
endif()