mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
16 lines
284 B
CMake
16 lines
284 B
CMake
|
set(LLVM_LINK_COMPONENTS
|
||
|
Option
|
||
|
Support
|
||
|
)
|
||
|
|
||
|
set(LLVM_TARGET_DEFINITIONS Opts.td)
|
||
|
|
||
|
tablegen(LLVM Opts.inc -gen-opt-parser-defs)
|
||
|
add_public_tablegen_target(OptsTestTableGen)
|
||
|
|
||
|
add_llvm_unittest(OptionTests
|
||
|
OptionParsingTest.cpp
|
||
|
)
|
||
|
|
||
|
add_dependencies(OptionTests OptsTestTableGen)
|