diff options
author | Chris Bieneman <beanz@apple.com> | 2016-11-17 04:36:50 +0000 |
---|---|---|
committer | Chris Bieneman <beanz@apple.com> | 2016-11-17 04:36:50 +0000 |
commit | 05c279fc4b62d672afa4232f8efbcdca42ef5085 (patch) | |
tree | 5ada182d8fffca89613d521519b4be711e145263 /llvm/lib/CodeGen | |
parent | aeb30257c52623b39c20f4a71af738af47bde81a (diff) | |
download | bcm5719-llvm-05c279fc4b62d672afa4232f8efbcdca42ef5085.tar.gz bcm5719-llvm-05c279fc4b62d672afa4232f8efbcdca42ef5085.zip |
[CMake] NFC. Updating CMake dependency specifications
This patch updates a bunch of places where add_dependencies was being explicitly called to add dependencies on intrinsics_gen to instead use the DEPENDS named parameter. This cleanup is needed for a patch I'm working on to add a dependency debugging mode to the build system.
llvm-svn: 287206
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/CMakeLists.txt | 5 | ||||
-rw-r--r-- | llvm/lib/CodeGen/CMakeLists.txt | 5 | ||||
-rw-r--r-- | llvm/lib/CodeGen/GlobalISel/CMakeLists.txt | 5 | ||||
-rw-r--r-- | llvm/lib/CodeGen/MIRParser/CMakeLists.txt | 5 | ||||
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/CMakeLists.txt | 5 |
5 files changed, 15 insertions, 10 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/CMakeLists.txt b/llvm/lib/CodeGen/AsmPrinter/CMakeLists.txt index 68a9973d77e..05c6a28bbca 100644 --- a/llvm/lib/CodeGen/AsmPrinter/CMakeLists.txt +++ b/llvm/lib/CodeGen/AsmPrinter/CMakeLists.txt @@ -22,6 +22,7 @@ add_llvm_library(LLVMAsmPrinter OcamlGCPrinter.cpp WinException.cpp CodeViewDebug.cpp - ) -add_dependencies(LLVMAsmPrinter intrinsics_gen) + DEPENDS + intrinsics_gen + ) diff --git a/llvm/lib/CodeGen/CMakeLists.txt b/llvm/lib/CodeGen/CMakeLists.txt index 4cc8290cacf..b08e7524f63 100644 --- a/llvm/lib/CodeGen/CMakeLists.txt +++ b/llvm/lib/CodeGen/CMakeLists.txt @@ -147,9 +147,10 @@ add_llvm_library(LLVMCodeGen ${LLVM_MAIN_INCLUDE_DIR}/llvm/CodeGen/PBQP LINK_LIBS ${PTHREAD_LIB} - ) -add_dependencies(LLVMCodeGen intrinsics_gen) + DEPENDS + intrinsics_gen + ) add_subdirectory(SelectionDAG) add_subdirectory(AsmPrinter) diff --git a/llvm/lib/CodeGen/GlobalISel/CMakeLists.txt b/llvm/lib/CodeGen/GlobalISel/CMakeLists.txt index fe44b340843..e1648fce09e 100644 --- a/llvm/lib/CodeGen/GlobalISel/CMakeLists.txt +++ b/llvm/lib/CodeGen/GlobalISel/CMakeLists.txt @@ -28,6 +28,7 @@ endif() add_llvm_library(LLVMGlobalISel ${GLOBAL_ISEL_BUILD_FILES} GlobalISel.cpp + + DEPENDS + intrinsics_gen ) - -add_dependencies(LLVMGlobalISel intrinsics_gen) diff --git a/llvm/lib/CodeGen/MIRParser/CMakeLists.txt b/llvm/lib/CodeGen/MIRParser/CMakeLists.txt index 7e757f68208..2eb5b844d0e 100644 --- a/llvm/lib/CodeGen/MIRParser/CMakeLists.txt +++ b/llvm/lib/CodeGen/MIRParser/CMakeLists.txt @@ -2,6 +2,7 @@ add_llvm_library(LLVMMIRParser MILexer.cpp MIParser.cpp MIRParser.cpp - ) -add_dependencies(LLVMMIRParser intrinsics_gen) + DEPENDS + intrinsics_gen + ) diff --git a/llvm/lib/CodeGen/SelectionDAG/CMakeLists.txt b/llvm/lib/CodeGen/SelectionDAG/CMakeLists.txt index b3d26c41acf..a668ddb7389 100644 --- a/llvm/lib/CodeGen/SelectionDAG/CMakeLists.txt +++ b/llvm/lib/CodeGen/SelectionDAG/CMakeLists.txt @@ -23,6 +23,7 @@ add_llvm_library(LLVMSelectionDAG SelectionDAGTargetInfo.cpp StatepointLowering.cpp TargetLowering.cpp + + DEPENDS + intrinsics_gen ) - -add_dependencies(LLVMSelectionDAG intrinsics_gen) |