Help needed: How can I build in release mode from Clion (JUCE 6 using CMake)

Hello!

I see no way to tell the IDE I want to build in release mode. I’m using Clion and CMake. I’m still learning lots of things regarding C++, so I feel I’m missing something super obvious somewhere…

Can anybody point me in the right direction?

Thanks a lot!

This option should be in the main ‘preferences/settings’ dialog, under ‘Build, Execution, Deployment’ > ‘CMake’.

3 Likes

Hello, I do not see that on Clion. I’m missing something? I can’t find any preferences/settings dialog in the Build menu on Clion. (there’s no Execution nor deployment options there, unless I’m looking at the wrong place).

I can see only Debug configuration available on the build. I’ve took as a basis, the cmake sample on the samples folder, if that makes any difference.

Captura de Pantalla 2020-06-30 a les 19.23.40

I was expecting to see a Release option available, but I’m not sure I need to do anything for it to be available… ?

Sorry, I meant the global app settings, in the ‘File’ menu.

Oooh! Thanks, found it! In the Mac I think it is on CLion / Prefefences (and then where you told me).

Thanks!