cmake_minimum_required(VERSION 3.10) project(planificador) add_compile_options(-Wall -Wextra -pedantic) include(FetchContent) FetchContent_Declare( cppzmq GIT_REPOSITORY https://github.com/zeromq/cppzmq.git GIT_TAG v4.10.0 ) FetchContent_MakeAvailable(cppzmq) FetchContent_Declare( tomlplusplus GIT_REPOSITORY https://github.com/marzer/tomlplusplus.git GIT_TAG v3.3.0 ) FetchContent_MakeAvailable(tomlplusplus) add_executable(planificador src/host.cpp src/runner.cpp src/config.cpp src/main.cpp) target_compile_features(planificador PUBLIC cxx_std_17) include_directories(${tomlplusplus_SOURCE_DIR}/include) include_directories(${cppzmq_SOURCE_DIR}) target_link_libraries(planificador PRIVATE zmq)