How to configure ExternalProject during main project configuration?

后端 未结 4 615
粉色の甜心
粉色の甜心 2021-02-05 10:37

The CMake\'s ExternalProject allows to define how to an external project is going to be downloaded, configured, built and installed. All whose steps are going to be performed at

4条回答
  •  野趣味
    野趣味 (楼主)
    2021-02-05 11:15

    The Hunter C++ package manager does what I asked for. Hunter is based on CMake ExternalProject, but comes with a set of predefined projects. Also, it builds the dependencies during configuration and they can be accessed by find_package(... CONFIG). Very nice stuff!

提交回复
热议问题