[cfe-commits] r82086 - in /cfe/trunk/test: CMakeLists.txt lit.site.cfg.in

Douglas Gregor dgregor at apple.com
Wed Sep 16 15:30:48 PDT 2009


Author: dgregor
Date: Wed Sep 16 17:30:48 2009
New Revision: 82086

URL: http://llvm.org/viewvc/llvm-project?rev=82086&view=rev
Log:
CMake: Generate LIT site configuration file for Clang tests, which Daniel will probably have to fix

Added:
    cfe/trunk/test/lit.site.cfg.in
Modified:
    cfe/trunk/test/CMakeLists.txt

Modified: cfe/trunk/test/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CMakeLists.txt?rev=82086&r1=82085&r2=82086&view=diff

==============================================================================
--- cfe/trunk/test/CMakeLists.txt (original)
+++ cfe/trunk/test/CMakeLists.txt Wed Sep 16 17:30:48 2009
@@ -60,3 +60,7 @@
     DEPENDS clang clang-cc index-test
     COMMENT "Running Clang regression tests")
 endif()  
+
+# Produce LIT site configuration file.
+configure_file(${CMAKE_CURRENT_SOURCE_DIR}/lit.site.cfg.in
+  ${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg)

Added: cfe/trunk/test/lit.site.cfg.in
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/lit.site.cfg.in?rev=82086&view=auto

==============================================================================
--- cfe/trunk/test/lit.site.cfg.in (added)
+++ cfe/trunk/test/lit.site.cfg.in Wed Sep 16 17:30:48 2009
@@ -0,0 +1,6 @@
+## Autogenerated by LLVM/Clang configuration. 
+# Do not edit!
+config.clang_obj_root = "@CLANG_BINARY_DIR@"
+
+# Let the main config do the real work.
+lit.load_config(config, "@LLVM_SOURCE_DIR@/lit.cfg")





More information about the cfe-commits mailing list