-
Notifications
You must be signed in to change notification settings - Fork 430
Open
Labels
help wantedExtra attention is neededExtra attention is needed
Description
when I try to build HelloWorld project with VS2019, I got LINK error( my cmake command is: cmake -G "Visual Studio 16 2019" -A x64 -Thost=x64 ../):

if I modify add_llvm_library MODULE to SHARED, VS2019 can successfully compile the HelloWolrd

but got the following warning:

and then opt.exe failed to load passes

In addition, the cmake invocation for llvm is:
cmake -DLLVM_ENABLE_PROJECTS="clang;lld;libcxx;llvm" -DLLVM_EXPORT_SYMOBLS_FOR_PLUGINS=On -G "Visual Studio 16 2019" -A x64 -Thost=x64 ..\
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needed