Customize the CMakeLists.txt template

Is it possible to customize the CMakeLists.txt template? I'd like to make various cross-project settings and would prefer not to start from scratch each time.


You can create your own CMakeLists.txt template in two ways:

- Call Save File as Template action in the current CMakeLists.txt file
- Configure the Template in Settings/Preferences | Editor | File and Code Templates from scratch

Then the New File menu will have you file template and you'll be able to create file following this template.