Compile folder of files or multiple selected files?
已回答
Is there a way to compile a folder or multiple files in CLion? I think this feature it's pretty straightforward to implement (if it doesn't exist yet). Maybe it should show a window with patterns of files that should be compiled (for example *.cpp,*.c, etc...)
请先登录再写评论。
Hello!
There is no such way. You should specify the files in your CMakeLists.txt/Makefile/etc.
It might be a good feature btw. Easy to implement and reuses existing techniques. Modifying CMakeLists.txt is not an option because I have a pretty big codebase and it takes ages to configure and even more ages to strip other sources because there're too many of different cmake-options and configuration that should be preserved for a build configuration of given sources