Proper way to set compiler and language standard in CMake

Hi again,

Having a build tree per compiler seems to be a good idea. I’ll look into this.

But for now, I’m utterly confused:
If I set the compiler through command line instead of “set” command in my CMakeLists, my project doesn’t link anymore with the C++ runtime (undeifned reference to all of std’s symbols).

I can’t see any reason why…

By the way, I use the “MinGW Makefiles” generator.

Regards