diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2011-10-28 01:02:16 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2011-10-28 01:02:16 +0000 |
commit | 16dab1badaa3c92951554f8c5df1d4a405b85140 (patch) | |
tree | d19b1209dbea47b774fd65dd51aff27f6aa739fd /clang/test/Frontend/cpp-output.c | |
parent | d9809f542b41b24082d2fd13772b11f755673608 (diff) | |
download | bcm5719-llvm-16dab1badaa3c92951554f8c5df1d4a405b85140.tar.gz bcm5719-llvm-16dab1badaa3c92951554f8c5df1d4a405b85140.zip |
Have llvm-config --cppflags print correct flags when in CMake build directory
Previously, if invoked from a CMake build directory, 'llvm-config
--cppflags' and friends would only print a -I flag for the build
directory's header search path, because it would assume that it was
already installed, not recognising its parent directory as being the
build directory. Teach llvm-config about CMake build directories
so that it prints a -I for both the source and build directory's
search paths.
llvm-svn: 143171
Diffstat (limited to 'clang/test/Frontend/cpp-output.c')
0 files changed, 0 insertions, 0 deletions