Compile folder of files or multiple selected files?

Answered

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...)

2 comments
Comment actions Permalink

Hello!

There is no such way. You should specify the files in your CMakeLists.txt/Makefile/etc.

0
Comment actions Permalink

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

0

Please sign in to leave a comment.