[CMake] Got Weird Error When Trying to Configure LLVM Version 10
Eric Doenges
doenges at mvtec.com
Mon Oct 28 03:40:17 EDT 2019
MSBuild is complaining that the generated project file doesn't contain a
32 bit debug target - which is no surprise, because you told CMake to
generate a project for a release build. You will probably need to tell
msbuild.exe that you want to build a release build with the
"/p:Configuration=Release" command line option.
Am 26.10.19 um 18:38 schrieb Osman Zakir:
> I want to build LLVM 10 so that I can see if having the same version
> of LLVM installed that my EMSDK version is using will help. I want to
> do this so I can build the Qt Documentation as well when I build Qt
> for WebAssembly. Building the Documentation requires LLVM and I want
> to avoid conflicts caused by having different versions of LLVM.
>
> Anyway, the command I ran was:
> "cmake -DCMAKE_INSTALL_PREFIX=../install -G"Visual Studio 16 2019"
> -Thost=x64 -A x86
> -DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra;lld;lldb;libcxx;libcxxabi"
> -DCMAKE_BUILD-TYPE=Release -MSVC_RUNTIME_TYPE=/MT
> -DLLVM_TARGETS_TO_BUILD=all -DLLVM_ENABLE_THREADS=On
> -DLLVM_CXX_STD="c++17" -DLLVM_ENABLE_PEDANTIC=On
> -DCMAKE_CXX_FLAGS="/std:c++17;/permissive-;/MT;/EHsc" ../llvm"
>
> I put the error message I got in the .log file I'm attaching to this
> message. Any help is appreciated. Thanks.
>
--
*Dr. Eric Dönges*
Senior Software Engineer
MVTec Software GmbH | Arnulfstr. 205 | 80634 Munich | Germany
doenges at mvtec.com <mailto:mustermann at mvtec.com> | Tel: +49 89 457 695-0
| www.mvtec.com <http://www.mvtec.com>
Find our privacy policy here <https://www.mvtec.com/imprint>.
Sign up <https://www.mvtec.com/newsletter> for our MVTec Newsletter!
Geschäftsführer: Dr. Wolfgang Eckstein, Dr. Olaf Munkelt
Amtsgericht München HRB 114695
MVTec Software GmbH Logo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cmake.org/pipermail/cmake/attachments/20191028/3dd7a212/attachment.html>
More information about the CMake
mailing list