This patch adds Windows support for a few of the llvm-config commands,
including cflags, ldflags, libs, and system-libs.
Currently llvm-config is untested, so this patch adds tests for the
commands that it fixes as well.
Paths
| Differential D16762
llvm-config: Add preliminary Windows support ClosedPublic Authored by • ehsan on Jan 31 2016, 4:41 PM.
Details Summary This patch adds Windows support for a few of the llvm-config commands, Currently llvm-config is untested, so this patch adds tests for the
Diff Detail Event Timeline• ehsan updated this object. rnk edited edge metadata. Comment Actionslgtm
This revision is now accepted and ready to land.Feb 8 2016, 3:31 PM Closed by commit rL260263: llvm-config: Add preliminary Windows support (authored by • ehsan). · Explain WhyFeb 9 2016, 11:45 AM This revision was automatically updated to reflect the committed changes. Comment Actions Is this the direction that llvm-config emits "native" DirSep? In my curiosity, who is an user to use native paths of llvm-config? I suggest to add a flag like "--native", or "--dos", to change the behavior. Comment Actions Sorry, I misunderstood that the behavior weren't just for MSVC host. It is better.
Revision Contents
Diff 46500 lib/Support/CMakeLists.txt
test/tools/llvm-config/cflags.test
test/tools/llvm-config/ldflags.test
test/tools/llvm-config/libs.test
test/tools/llvm-config/system-libs.test
tools/llvm-config/llvm-config.cpp
utils/llvm-build/llvmbuild/main.py
|
Seems simpler as