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

            Bug ID: 41354
           Summary: Windows gn build should generate ninja files that
                    don't require a vcvars environment
           Product: new-bugs
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedb...@nondot.org
          Reporter: r...@google.com
                CC: htmldevelo...@gmail.com, llvm-bugs@lists.llvm.org,
                    nicolaswe...@gmx.de, pho...@chromium.org

I typically build from a vcvars shell, so this isn't usually a problem for me,
but today I was experimenting with `gn gen . --ide=vs`, which runs it's
external build commands from a "standard" environment. Without INCLUDE, LIB,
LIBPATH, and PATH for mt.exe and some others, the in-IDE ninja build fails
while a build from the right environment will succeed.

It would be nice if we set up the gn build like Chromium has it to write out
environment block files for use with ninja -t msvc, or use -imsvc if clang-cl
is in use.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to