CMake: how best to build multiple (optional) subprojects?

后端 未结 6 2046
说谎
说谎 2021-02-18 16:23

Imagine an overall project with several components:

  • basic
  • io
  • web
  • app-a
  • app-b
  • app-c

Now, let\'s say web

6条回答
  •  感情败类
    2021-02-18 17:14

    The CMake BASIS tool provides utilities where you can create independent modules of a project and selectively enable and disable them using the ccmake command.

    Full disclosure: I'm a developer for the project.

提交回复
热议问题