Use this page to configure CMake behavior in your project. The settings described here are project-related; this page is marked with icon.
|Configuration tab|| In this tab, select a build configuration to be generated. You can add or delete the existing configurations or create a new one. |
|Configuration||In this drop down list select the desired build configuration. The default configuration is Debug. To add a configuration to the list, select it in the Configuration tab.|
|CMake options||In this text field, specify the additional CMake options to be passed to the CMake command. The options should be delimited with spaces.|
You can also press Shift+Enter or click to type the required options in the editor window, each option on a new line.
|Environment||Click the button to invoke the Custom variables pane and select there the environment variables to be passed to the Generation phase of CMake.|
|Generation path|| |
Specify here the location of the generated CMake files. That could be either absolute (e.g. c:\CLion Projects\My Project\CMake Files\cmake-build-debug or relative to the current project root path (e.g cmake-build-debug):
This setting is saved in
Microsoft Visual C++ compiler specific settings
|Build options|| In this text field, specify the options to be passed to the build tool used by CMake.|
Find more information about the available build options in the CMake documentation.
You can also click to type the required options in the editor window.
If nothing is specified, the default setting