[cfe-commits] r121957 - in /cfe/trunk: CMakeLists.txt runtime/CMakeLists.txt
Michael J. Spencer
bigcheesegs at gmail.com
Wed Dec 15 19:28:42 PST 2010
Author: mspencer
Date: Wed Dec 15 21:28:42 2010
New Revision: 121957
URL: http://llvm.org/viewvc/llvm-project?rev=121957&view=rev
Log:
CMake: Add runtime dir.
Added:
cfe/trunk/runtime/CMakeLists.txt
Modified:
cfe/trunk/CMakeLists.txt
Modified: cfe/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/CMakeLists.txt?rev=121957&r1=121956&r2=121957&view=diff
==============================================================================
--- cfe/trunk/CMakeLists.txt (original)
+++ cfe/trunk/CMakeLists.txt Wed Dec 15 21:28:42 2010
@@ -151,7 +151,7 @@
add_subdirectory(include)
add_subdirectory(lib)
add_subdirectory(tools)
+add_subdirectory(runtime)
# TODO: docs.
add_subdirectory(test)
-
Added: cfe/trunk/runtime/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/runtime/CMakeLists.txt?rev=121957&view=auto
==============================================================================
--- cfe/trunk/runtime/CMakeLists.txt (added)
+++ cfe/trunk/runtime/CMakeLists.txt Wed Dec 15 21:28:42 2010
@@ -0,0 +1,12 @@
+# TODO: Set the install directory.
+
+set(known_subdirs
+ "compiler-rt"
+ "libcxx"
+ )
+
+foreach (dir ${known_subdirs})
+ if (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${dir}/CMakeLists.txt)
+ add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/${dir})
+ endif()
+endforeach()
More information about the cfe-commits
mailing list