llvm-for-llvmta/unittests/Option/CMakeLists.txt

15 lines
264 B
CMake
Raw Normal View History

2022-04-25 10:02:23 +02:00
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
OptionMarshallingTest.cpp
)