mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-10 03:13:34 +00:00
![Rui Ueyama](/assets/img/avatar_default.png)
I thought for a while about how to remove it, but it looks like we can just copy the file for now. Of course I'm not happy about that, but it's just less than 50 lines of code, and we already have duplicate code in Error.h and some other places. I want to solve them all at once later. Differential Revision: https://reviews.llvm.org/D27819 llvm-svn: 290062
49 lines
720 B
CMake
49 lines
720 B
CMake
set(LLVM_TARGET_DEFINITIONS Options.td)
|
|
tablegen(LLVM Options.inc -gen-opt-parser-defs)
|
|
add_public_tablegen_target(COFFOptionsTableGen)
|
|
|
|
if(NOT LLD_BUILT_STANDALONE)
|
|
set(tablegen_deps intrinsics_gen)
|
|
endif()
|
|
|
|
add_lld_library(lldCOFF
|
|
Chunks.cpp
|
|
DLL.cpp
|
|
Driver.cpp
|
|
DriverUtils.cpp
|
|
Error.cpp
|
|
ICF.cpp
|
|
InputFiles.cpp
|
|
Librarian.cpp
|
|
MarkLive.cpp
|
|
ModuleDef.cpp
|
|
PDB.cpp
|
|
Strings.cpp
|
|
SymbolTable.cpp
|
|
Symbols.cpp
|
|
Writer.cpp
|
|
|
|
LINK_COMPONENTS
|
|
${LLVM_TARGETS_TO_BUILD}
|
|
Core
|
|
DebugInfoCodeView
|
|
DebugInfoMSF
|
|
DebugInfoPDB
|
|
LTO
|
|
LibDriver
|
|
Object
|
|
MC
|
|
MCDisassembler
|
|
Target
|
|
Option
|
|
Support
|
|
|
|
LINK_LIBS
|
|
lldCore
|
|
${PTHREAD_LIB}
|
|
|
|
DEPENDS
|
|
COFFOptionsTableGen
|
|
${tablegen_deps}
|
|
)
|