Closed BrunoSilvaFreire closed 4 years ago
Setting the CMAKE_CXX_STANDARD variable to 17 warns the CMake generators about which C++ standart to use for generated build systems, as specified here and here.
CMAKE_CXX_STANDARD
17
This will probably also help to fix some issues that the wiki says Visual Studio has with CMake, IF, the MSVC version is later than 2015 Update 3.
My CMakeLists do this already
https://github.com/Hopson97/open-builder/blob/f8a58ae8e18924d8aef6e04d7700244c086a6925/CMakeLists.txt#L10
Oh, did not see that, closing issue
Setting the
CMAKE_CXX_STANDARD
variable to17
warns the CMake generators about which C++ standart to use for generated build systems, as specified here and here.This will probably also help to fix some issues that the wiki says Visual Studio has with CMake, IF, the MSVC version is later than 2015 Update 3.