llvm-for-llvmta/lib/ToolDrivers/llvm-dlltool/CMakeLists.txt

15 lines
308 B
CMake

set(LLVM_TARGET_DEFINITIONS Options.td)
tablegen(LLVM Options.inc -gen-opt-parser-defs)
add_public_tablegen_target(DllOptionsTableGen)
add_llvm_component_library(LLVMDlltoolDriver
DlltoolDriver.cpp
LINK_COMPONENTS
Object
Option
Support
)
add_dependencies(LLVMDlltoolDriver DllOptionsTableGen)