projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bcc1db5
)
CMake: If we have `clang' under the `tools/' subdirectory, add it to
author
Oscar Fuentes
<ofv@wanadoo.es>
Sun, 26 Oct 2008 00:52:09 +0000
(
00:52
+0000)
committer
Oscar Fuentes
<ofv@wanadoo.es>
Sun, 26 Oct 2008 00:52:09 +0000
(
00:52
+0000)
the build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58179
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/tools/CMakeLists.txt
b/tools/CMakeLists.txt
index 8909cbd266a9bfe9e4a2f4829d43bd8969300dd7..d05cb9aa9374cae6d39e62da02c8f501c77c48c1 100644
(file)
--- a/
tools/CMakeLists.txt
+++ b/
tools/CMakeLists.txt
@@
-30,3
+30,7
@@
add_subdirectory(bugpoint)
add_subdirectory(llvm-bcanalyzer)
add_subdirectory(llvm-stub)
add_subdirectory(llvmc2)
+
+if( EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/clang/CMakeLists.txt )
+ add_subdirectory( ${CMAKE_CURRENT_SOURCE_DIR}/clang )
+endif( EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/clang/CMakeLists.txt )