Use this page to configure CMake behavior in your project. The settings described here are project-related; this page is marked with icon.
|Configuration||In this drop down list select the desired configuration. The default configuration is Debug.|
|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.
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
Pass system environment
|Pass system environment||Use this section to specify the environment and/or custom variables to be passed to the Generation phase of CMake.|
|Custom variables pane||In this table you can add or delete the custom variables (if any) and set their values. Use , , and buttons to manage the list of custom variables.|
|Show||Click this link to show the list of system environment variables and their values.|
|Pass system environment variables||Select this check box to pass system environment variables to the Generation phase of CMake.|
Note that the name of the section depends on this setting as follows:
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