file(GLOB_RECURSE INCLUDES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} include/*.h) add_library(trygvis-sensor main/sensor.cpp main/io.cpp ${INCLUDES}) # Boost find_package(Boost COMPONENTS regex system REQUIRED) target_include_directories(trygvis-sensor PUBLIC "${PROJECT_SOURCE_DIR}/json/src" PUBLIC "${PROJECT_SOURCE_DIR}/sensor/include" PUBLIC "${Boost_INCLUDE_DIRS}") add_subdirectory(test)