search for: dcmake_msvc_runtime_library

Displaying 2 results from an estimated 2 matches for "dcmake_msvc_runtime_library".

2019 Oct 28
2
How to Switch to Static Runtime and Enable C++ Exceptions?
Hi. I'm trying to build LLVM 10.0.0 with CMake on the command line (Developer Command Prompt for VS2019) and I need to know how to switch to a static runtime. I've tried setting LLVM's variable for this, but it didn't work. I still have a dynamic runtime. Along with that, I also need to know how to enable C++ exceptions. One thing I tried was to do
2019 Oct 28
4
How to Switch to Static Runtime and Enable C++ Exceptions?
...À : llvm-dev at lists.llvm.org <llvm-dev at lists.llvm.org> Objet : Re: [llvm-dev] How to Switch to Static Runtime and Enable C++ Exceptions? I ran this command "cmake -S../llvm -G"Visual Studio 16 2019" -Thost=x64 -DCMAKE_INSTALL_PREFIX=../install -DCMAKE_BUILD_TYPE=Release -DCMAKE_MSVC_RUNTIME_LIBRARY=MT -DCMAKE_CXX_FLAGS="/permissive- /EHsc /std:c++17 /O2 /MT /D_SILENCE_ALL_CXX_DEPRECATION_WARNINGS" -DLLVM_ENABLE_RTTI=On -DLLVM_ENABLE_EH=ON -DCMAKE_CXX_STANDARD=17 -DPYTHON_HOME=C:/Users/Osman/AppData/Local/Programs/Python/Python38 -DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra;l...