Automatically detect newly added source file

后端 未结 2 1580
孤独总比滥情好
孤独总比滥情好 2020-12-21 22:45

My problem is that I am forced to rerun CMake each time I add a new source file, which is really annoying... Is there any way CMake could detect newly added source file auto

2条回答
  •  甜味超标
    2020-12-21 23:05

    CMake does not offer such a way. How should CMake detect these new files without being called?

    I am not sure whether Xcode or Visual Studio automatically re-runs CMake when new files are added.

提交回复
热议问题