How to generate CMakeLists.txt?

前端 未结 7 1739
借酒劲吻你
借酒劲吻你 2021-01-30 10:23

I need some pointers/advice on how to automatically generate CMakeLists.txt files for CMake. Does anyone know of any existing generators? I\'ve checked the ones listed in the CM

7条回答
  •  花落未央
    2021-01-30 10:57

    CLion is an Integrated development environment that is fully based on CMake project file.

    It is able to generate itself the CMakeLists.txt file when using the import project from source

    However this is quite probable that you have to edit this file manually as your project grows and for adding external dependency.

提交回复
热议问题