[cfe-commits] r74163 - in /cfe/trunk: lib/Headers/CMakeLists.txt tools/clang-cc/CMakeLists.txt
Douglas Gregor
dgregor at apple.com
Wed Jun 24 22:07:31 PDT 2009
Author: dgregor
Date: Thu Jun 25 00:07:31 2009
New Revision: 74163
URL: http://llvm.org/viewvc/llvm-project?rev=74163&view=rev
Log:
Make sure install Clang headers when building clang-cc
Modified:
cfe/trunk/lib/Headers/CMakeLists.txt
cfe/trunk/tools/clang-cc/CMakeLists.txt
Modified: cfe/trunk/lib/Headers/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Headers/CMakeLists.txt?rev=74163&r1=74162&r2=74163&view=diff
==============================================================================
--- cfe/trunk/lib/Headers/CMakeLists.txt (original)
+++ cfe/trunk/lib/Headers/CMakeLists.txt Thu Jun 25 00:07:31 2009
@@ -31,7 +31,7 @@
COMMENT "Copying clang's ${f}...")
endforeach( f )
-add_custom_target(clang_headers ALL
+add_custom_target(clang-headers ALL
DEPENDS ${files})
install(FILES ${files}
Modified: cfe/trunk/tools/clang-cc/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/clang-cc/CMakeLists.txt?rev=74163&r1=74162&r2=74163&view=diff
==============================================================================
--- cfe/trunk/tools/clang-cc/CMakeLists.txt (original)
+++ cfe/trunk/tools/clang-cc/CMakeLists.txt Thu Jun 25 00:07:31 2009
@@ -24,3 +24,4 @@
add_clang_executable(clang-cc
clang-cc.cpp
)
+add_dependencies(clang-cc clang-headers)
More information about the cfe-commits
mailing list