[llvm-bugs] [Bug 41354] New: Windows gn build should generate ninja files that don't require a vcvars environment
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Apr 2 15:54:35 PDT 2019
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: unassignedbugs at nondot.org
Reporter: rnk at google.com
CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org,
nicolasweber at gmx.de, phosek at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190402/fe2dc5d3/attachment.html>
More information about the llvm-bugs
mailing list