[lld] r287205 - [CMake] NFC. Updating CMake dependency specifications
Chris Bieneman via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 16 20:36:35 PST 2016
Author: cbieneman
Date: Wed Nov 16 22:36:35 2016
New Revision: 287205
URL: http://llvm.org/viewvc/llvm-project?rev=287205&view=rev
Log:
[CMake] NFC. Updating CMake dependency specifications
This patch updates a couple 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.
Modified:
lld/trunk/COFF/CMakeLists.txt
lld/trunk/ELF/CMakeLists.txt
Modified: lld/trunk/COFF/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/COFF/CMakeLists.txt?rev=287205&r1=287204&r2=287205&view=diff
==============================================================================
--- lld/trunk/COFF/CMakeLists.txt (original)
+++ lld/trunk/COFF/CMakeLists.txt Wed Nov 16 22:36:35 2016
@@ -35,6 +35,8 @@ add_lld_library(lldCOFF
LINK_LIBS
lldCore
${PTHREAD_LIB}
- )
-add_dependencies(lldCOFF COFFOptionsTableGen intrinsics_gen)
+ DEPENDS
+ COFFOptionsTableGen
+ intrinsics_gen
+ )
Modified: lld/trunk/ELF/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/CMakeLists.txt?rev=287205&r1=287204&r2=287205&view=diff
==============================================================================
--- lld/trunk/ELF/CMakeLists.txt (original)
+++ lld/trunk/ELF/CMakeLists.txt Wed Nov 16 22:36:35 2016
@@ -52,6 +52,8 @@ add_lld_library(lldELF
lldConfig
lldCore
${PTHREAD_LIB}
- )
-add_dependencies(lldELF intrinsics_gen ELFOptionsTableGen)
+ DEPENDS
+ ELFOptionsTableGen
+ intrinsics_gen
+ )
More information about the llvm-commits
mailing list