How to generate CMakeLists.txt?

前端 未结 7 1729
借酒劲吻你
借酒劲吻你 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 11:05

    Maybe this could be helpful:

    https://conan.io/

    The author has given some speeches about cmake and how to create modular projects using cmake into CPPCon. As far as I know, this tool require cmake, so that I suppose that generate it when you integrate new packages, or create new packages. Recently I read something about how to write a higher level description of the C/C++ project using a YAML file, but not sure if it is part of conan or not (what I read was from the author of conan). I have never used, and it is something pending for me, so that, please if you use it and fit your needs, comment your opinions about it and how it fit your scenario.

    0 讨论(0)
提交回复
热议问题