[cfe-commits] r99622 - in /cfe/trunk/include/clang: Basic/CMakeLists.txt Driver/CMakeLists.txt

Kovarththanan Rajaratnam kovarththanan.rajaratnam at gmail.com
Fri Mar 26 09:46:16 PDT 2010


Author: krj
Date: Fri Mar 26 11:46:16 2010
New Revision: 99622

URL: http://llvm.org/viewvc/llvm-project?rev=99622&view=rev
Log:
No need to specify ${CMAKE_CURRENT_BINARY_DIR}

Modified:
    cfe/trunk/include/clang/Basic/CMakeLists.txt
    cfe/trunk/include/clang/Driver/CMakeLists.txt

Modified: cfe/trunk/include/clang/Basic/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/CMakeLists.txt?rev=99622&r1=99621&r2=99622&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/CMakeLists.txt (original)
+++ cfe/trunk/include/clang/Basic/CMakeLists.txt Fri Mar 26 11:46:16 2010
@@ -1,8 +1,8 @@
 macro(clang_diag_gen component)
-  tablegen(Diagnostic${component}Kinds.inc 
-	   -gen-clang-diags-defs -clang-component=${component})
+  tablegen(Diagnostic${component}Kinds.inc
+        -gen-clang-diags-defs -clang-component=${component})
   add_custom_target(ClangDiagnostic${component}
-    DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/Diagnostic${component}Kinds.inc)
+    DEPENDS Diagnostic${component}Kinds.inc)
 endmacro(clang_diag_gen)
 
 set(LLVM_TARGET_DEFINITIONS Diagnostic.td)
@@ -17,4 +17,4 @@
 tablegen(DiagnosticGroups.inc
          -gen-clang-diag-groups)
 add_custom_target(ClangDiagnosticGroups
-  DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/DiagnosticGroups.inc)
+  DEPENDS DiagnosticGroups.inc)

Modified: cfe/trunk/include/clang/Driver/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Driver/CMakeLists.txt?rev=99622&r1=99621&r2=99622&view=diff
==============================================================================
--- cfe/trunk/include/clang/Driver/CMakeLists.txt (original)
+++ cfe/trunk/include/clang/Driver/CMakeLists.txt Fri Mar 26 11:46:16 2010
@@ -2,10 +2,10 @@
 tablegen(Options.inc
          -gen-opt-parser-defs)
 add_custom_target(ClangDriverOptions
-  DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/Options.inc)
+  DEPENDS Options.inc)
 
 set(LLVM_TARGET_DEFINITIONS CC1Options.td)
 tablegen(CC1Options.inc
          -gen-opt-parser-defs)
 add_custom_target(ClangCC1Options
-  DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/CC1Options.inc)
+  DEPENDS CC1Options.inc)





More information about the cfe-commits mailing list