# examples/CMakeLists.txt # Specify the minimum CMake version cmake_minimum_required(VERSION 3.10) # Specify the path to the main project directory set(MAIN_PROJECT_DIR "${CMAKE_SOURCE_DIR}/..") # Set the project name project(Examples) include_directories(..) # Add the executable for the main project #add_executable(MainExecutable ${SOURCES}) # Find the main project library (assuming it's defined in the root CMakeLists.txt) #find_package(RoboidControl REQUIRED) # Replace MyLibrary with your actual library name # Add example executables add_executable(BB2B BB2B.cpp) target_link_libraries( BB2B RoboidControl LinearAlgebra )