CMake with Ninja Generator with Intel Compiler - Release Mode Is Not Activated
I generate Ninja Build Files using CMake with the Compiler configured to be Intel Compiler (Tried both Intel Compiler 18 and 19).
It seems it generates compilation with Debug flags both for the compilation process and the link process.
Also it generates the following warning from the Intel Compiler - icl: warning #10182: disabling optimization; runtime debug checks enabled
.
It seems the compilation / link flags needs more careful attention.
All this when the Build is done in Release Mode (cmake --build . --config Release
).
I use Intel Compiler as it is the compiler I can use on all systems with the same code.
Yet it seems not so popular hence maybe not enough people looking into CMake with Intel Compiler configuration.
Edited by Royi