I'm using a cmake project with C::B. I added a couple of files and got a bunch of compile errors due to the fact I didn't rerun cmake before building. I used aux_source_directory to specify the source directory.
Is there a way to make C::B do that for me whenever I add a new file? I tried using this as a prebuild command, but this reset my project and I have to set up execution and the build cmds once again ;/