mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-13 19:24:21 +00:00
727f153b6f
The classes used to print and update time information are in common, so other linkers could use this as well if desired. Differential Revision: https://reviews.llvm.org/D41915 llvm-svn: 322736
34 lines
452 B
CMake
34 lines
452 B
CMake
if(NOT LLD_BUILT_STANDALONE)
|
|
set(tablegen_deps intrinsics_gen)
|
|
endif()
|
|
|
|
add_lld_library(lldCommon
|
|
Args.cpp
|
|
ErrorHandler.cpp
|
|
Memory.cpp
|
|
Reproduce.cpp
|
|
Strings.cpp
|
|
TargetOptionsCommandFlags.cpp
|
|
Threads.cpp
|
|
Timer.cpp
|
|
Version.cpp
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
${LLD_INCLUDE_DIR}/lld/Common
|
|
|
|
LINK_COMPONENTS
|
|
Codegen
|
|
Core
|
|
Demangle
|
|
MC
|
|
Option
|
|
Support
|
|
Target
|
|
|
|
LINK_LIBS
|
|
${LLVM_PTHREAD_LIB}
|
|
|
|
DEPENDS
|
|
${tablegen_deps}
|
|
)
|