[PATCH] D90969: Renovate CMake file for the `llvm-cfi-verify` tool
Jameson Nash via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 8 15:27:38 PST 2021
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG16e7973c5d8f: Renovate CMake file for the `llvm-cfi-verify` tool (authored by vtjnash).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D90969/new/
https://reviews.llvm.org/D90969
Files:
llvm/tools/llvm-cfi-verify/lib/CMakeLists.txt
Index: llvm/tools/llvm-cfi-verify/lib/CMakeLists.txt
===================================================================
--- llvm/tools/llvm-cfi-verify/lib/CMakeLists.txt
+++ llvm/tools/llvm-cfi-verify/lib/CMakeLists.txt
@@ -1,16 +1,4 @@
-add_library(LLVMCFIVerify
- STATIC
- FileAnalysis.cpp
- FileAnalysis.h
- GraphBuilder.cpp
- GraphBuilder.h
- )
-
-llvm_update_compile_flags(LLVMCFIVerify)
-if (LLVM_LINK_LLVM_DYLIB)
- set(libs LLVM)
-else()
- llvm_map_components_to_libnames(libs
+set(LLVM_LINK_COMPONENTS
DebugInfoDWARF
MC
MCParser
@@ -18,6 +6,11 @@
Support
Symbolize
)
-endif()
-target_link_libraries(LLVMCFIVerify ${libs})
-set_target_properties(LLVMCFIVerify PROPERTIES FOLDER "Libraries")
+
+add_llvm_library(LLVMCFIVerify
+ STATIC
+ FileAnalysis.cpp
+ FileAnalysis.h
+ GraphBuilder.cpp
+ GraphBuilder.h
+ )
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D90969.322230.patch
Type: text/x-patch
Size: 862 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210208/5b9cfd6f/attachment.bin>
More information about the llvm-commits
mailing list