CLion - ftsrg/cheat-sheets GitHub Wiki
Compile in Release mode
- Change to Release mode in the Run/Debug configurations drop-down list next to the Run (play) button.
- If it is missing, add it at Settings / Preferences | Build, Execution, Deployment | CMake. (Details)