How to generate CMakeLists.txt?

前端 未结 7 1923
借酒劲吻你
借酒劲吻你 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:51

    Well i dont have much of an experience in Cmake either, but to perform a cross platform make a lot of files need to be written and modified including the CMakeLists.txt file, i suggest that you use this new tool called the ProjectGenerator Tool, its pretty cool, it does all the extra work needed and makes it easy to generate such files for 3'rd party sources with little effort. Just read the README carefully before using it.

    Link: http://www.ogre3d.org/forums/viewtopic.php?f=1&t=54842

提交回复
热议问题