使用 VSCode 的 Cmaketool ,现在改动子目录的 CmakeLists.txt 后,需要去项目根目录的 CmakeLists.txt 改动并且保存才会自动重新编译文件,有点麻烦。 希望可以在子目录的 CmakeLists.txt 保存改动后自动编译
注:根目录 CmakeLists 通过 add_subdirectory 指令引入子目录的 CmakeLists