1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 20:23:11 +01:00

Make llvm-cfi-verify CMakeLists.txt formatting more consistent with the rest of LLVM.

llvm-svn: 331835
This commit is contained in:
Nico Weber 2018-05-09 01:07:02 +00:00
parent 82ef9bf268
commit 8f0a16658d
2 changed files with 7 additions and 4 deletions

View File

@ -12,7 +12,8 @@ set(LLVM_LINK_COMPONENTS
) )
add_llvm_tool(llvm-cfi-verify add_llvm_tool(llvm-cfi-verify
llvm-cfi-verify.cpp) llvm-cfi-verify.cpp
)
add_subdirectory(lib) add_subdirectory(lib)
target_link_libraries(llvm-cfi-verify PRIVATE LLVMCFIVerify) target_link_libraries(llvm-cfi-verify PRIVATE LLVMCFIVerify)

View File

@ -3,7 +3,8 @@ add_library(LLVMCFIVerify
FileAnalysis.cpp FileAnalysis.cpp
FileAnalysis.h FileAnalysis.h
GraphBuilder.cpp GraphBuilder.cpp
GraphBuilder.h) GraphBuilder.h
)
llvm_update_compile_flags(LLVMCFIVerify) llvm_update_compile_flags(LLVMCFIVerify)
llvm_map_components_to_libnames(libs llvm_map_components_to_libnames(libs
@ -12,6 +13,7 @@ llvm_map_components_to_libnames(libs
MCParser MCParser
Object Object
Support Support
Symbolize) Symbolize
)
target_link_libraries(LLVMCFIVerify ${libs}) target_link_libraries(LLVMCFIVerify ${libs})
set_target_properties(LLVMCFIVerify PROPERTIES FOLDER "Libraries") set_target_properties(LLVMCFIVerify PROPERTIES FOLDER "Libraries")