From: Kovarththanan Rajaratnam Date: Fri, 26 Mar 2010 16:46:16 +0000 (+0000) Subject: No need to specify ${CMAKE_CURRENT_BINARY_DIR} X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=67e170623f51457a8edd045be95db43342424f2e;p=clang No need to specify ${CMAKE_CURRENT_BINARY_DIR} git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99622 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Basic/CMakeLists.txt b/include/clang/Basic/CMakeLists.txt index 9e643bb3c2..c2a4e1364a 100644 --- a/include/clang/Basic/CMakeLists.txt +++ b/include/clang/Basic/CMakeLists.txt @@ -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 @@ clang_diag_gen(Sema) tablegen(DiagnosticGroups.inc -gen-clang-diag-groups) add_custom_target(ClangDiagnosticGroups - DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/DiagnosticGroups.inc) + DEPENDS DiagnosticGroups.inc) diff --git a/include/clang/Driver/CMakeLists.txt b/include/clang/Driver/CMakeLists.txt index f720d15d8c..ed9825b59d 100644 --- a/include/clang/Driver/CMakeLists.txt +++ b/include/clang/Driver/CMakeLists.txt @@ -2,10 +2,10 @@ set(LLVM_TARGET_DEFINITIONS Options.td) 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)