summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: abab81f)
raw | patch | inline | side by side (parent: abab81f)
author | Oscar Fuentes <ofv@wanadoo.es> | |
Fri, 6 Mar 2009 01:16:52 +0000 (01:16 +0000) | ||
committer | Oscar Fuentes <ofv@wanadoo.es> | |
Fri, 6 Mar 2009 01:16:52 +0000 (01:16 +0000) |
Patch by Viktar Zviarovich!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66230 91177308-0d34-0410-b5e6-96231b3b80d8
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66230 91177308-0d34-0410-b5e6-96231b3b80d8
CMakeLists.txt | patch | blob | history | |
projects/CMakeLists.txt | [new file with mode: 0644] | patch | blob |
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3dcc5e4f7ff0214e3b31ac4b2b788167993a1f78..4ee8d204007464003038419c351b6bd3f6da6e02 100644 (file)
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
add_subdirectory(lib/Debugger)
add_subdirectory(lib/Archive)
+add_subdirectory(projects)
add_subdirectory(tools)
add_subdirectory(examples)
diff --git a/projects/CMakeLists.txt b/projects/CMakeLists.txt
--- /dev/null
+++ b/projects/CMakeLists.txt
@@ -0,0 +1,9 @@
+# Discover the projects that use CMake in the subdirectories.
+# Note that explicit cmake invocation is required every time a new project is
+# added or removed.
+file(GLOB entries *)
+foreach(entry ${entries})
+ if(IS_DIRECTORY ${entry} AND EXISTS ${entry}/CMakeLists.txt)
+ add_subdirectory(${entry})
+ endif()
+endforeach(entry)