A while back I wrote a post about how to set the c++ standard with cmake. It revolved around setting the CXX_STANDARD and optionally CXX_STANDARD_REQUIRED properties. I have since found this technique does not work as nicely as I would like with Visual Studio.
Note: I have written an update to this post here. I’m currently trying to convert an existing code base from Makefiles to CMake. I’m doing this in order to showcase the advantages we can have by switching to CMake. Its an unofficial conversion, so I am not changing anything in the official repo. I plan […]