|
Boost Users : |
From: accelerator0099 (accelerator0099_at_[hidden])
Date: 2023-12-23 08:22:50
CMake doesn't support cobalt (even the latest cmake 3.28.1 doesn't
support it).
On 12/21/23 22:29, Josué Andrade Gomes via Boost-users wrote:
> cmake_minimum_required(VERSION 3.20)
> project(coro_study)
>
> set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
> set(CMAKE_CXX_STANDARD 20)
> set(CMAKE_VERBOSE_MAKEFILE ON)
>
> set(Boost_VERBOSE 1)
> set(Boost_DEBUG 1)
>
> find_package(Boost REQUIRED COMPONENTS system)
>
> add_executable(sample sample.cpp)
>
> target_include_directories(sample4 PRIVATE ${Boost_INCLUDE_DIRS})
> target_link_libraries(sample4 PRIVATE ${Boost_LIBRARIES})
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net