CLion File template should behave like C++ Source (Automatically add to CMake etc.)

I am creating a few C++ file templates and I would like the generated files to behave in a similar way as normal C++ source files.

For example when I click on new->C++ Class it gives me the option to add the file to my CMake Files but I don't seem to have that option in my custom templates.

Please sign in to leave a comment.