search for: refreshenv

Displaying 1 result from an estimated 1 matches for "refreshenv".

Did you mean: refreshed
2019 Oct 28
2
How to Switch to Static Runtime and Enable C++ Exceptions?
...ried was to do "-DCMAKE_CXX_FLAGS="/std:c++17 /MT /EHsc /permissive-"" but this also didn't work. Specifying these on the CXXFLAGS environment variable didn't do anything either. I was using the same session of the Developer Command Prompt, but I made sure to run "refreshenv" to take the new environment from the registry before continuing. I did try to do "-DLLVM_ENABLE_EH=On" but I still got a warning from CMake (from benchmarks/CMakeLists.txt, if I recall correctly) saying that using std::regex with exceptions disabled isn't fully supported. Any...