[cfe-commits] r82098 - /cfe/trunk/CMakeLists.txt

Daniel Dunbar daniel at zuster.org
Wed Sep 16 17:07:11 PDT 2009


Author: ddunbar
Date: Wed Sep 16 19:07:10 2009
New Revision: 82098

URL: http://llvm.org/viewvc/llvm-project?rev=82098&view=rev
Log:
Add CLANG_{SOURCE,BINARY}_DIR cmake variables.

Modified:
    cfe/trunk/CMakeLists.txt

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

==============================================================================
--- cfe/trunk/CMakeLists.txt (original)
+++ cfe/trunk/CMakeLists.txt Wed Sep 16 19:07:10 2009
@@ -5,6 +5,9 @@
   ${CMAKE_CURRENT_SOURCE_DIR}/VER
   ${CMAKE_CURRENT_BINARY_DIR}/VER)
 
+set(CLANG_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR})
+set(CLANG_BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR})
+
 # Compute the Clang version from the contents of VER
 file(READ ${CMAKE_CURRENT_SOURCE_DIR}/VER CLANG_VERSION_DATA)
 string(REGEX MATCH "[0-9]+\\.[0-9]+(\\.[0-9]+)?" CLANG_VERSION 





More information about the cfe-commits mailing list