[llvm-bugs] [Bug 41758] New: LLVM compiler toolchain extension does not work for Microsoft Visual Studio 2019

via llvm-bugs llvm-bugs at lists.llvm.org
Sun May 5 16:03:27 PDT 2019


https://bugs.llvm.org/show_bug.cgi?id=41758

            Bug ID: 41758
           Summary: LLVM compiler toolchain extension does not work for
                    Microsoft Visual Studio 2019
           Product: new-bugs
           Version: 8.0
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: amitin at instantiations.com
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org

Having installed MSVS 2019 Professional and 'LLVM Compiler Toolchain'
extension, I use -T"llvm" cmake argument for my cmake-based project to get it
targeted to llvm toolset. 
But Visual Studio 2019 reports that it's an unknown toolset. Attempting to
manually retarget my project generated with standard toolset has no effect
because I cannot see 'llvm' as an optional toolset in MSVS IDE.

However, it works just fine with Visual Studio 2017. 

As a workaround, I copied all llvm-related stuff from 
C:\Program Files\Microsoft Visual
Studio\2019\Professional\Common7\IDE\VC\VCTargets
to
C:\Program Files\Microsoft Visual
Studio\2019\Professional\MSBuild\Microsoft\VC\v160

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190505/367b971c/attachment.html>


More information about the llvm-bugs mailing list