27 lines
444 B
CMake
27 lines
444 B
CMake
add_subdirectory(cli)
|
|
add_subdirectory(cxx)
|
|
add_subdirectory(grammar)
|
|
|
|
set(LLVM_LINK_COMPONENTS Support)
|
|
|
|
add_clang_library(clangPseudo
|
|
Bracket.cpp
|
|
DirectiveTree.cpp
|
|
Disambiguate.cpp
|
|
Forest.cpp
|
|
GLR.cpp
|
|
Lex.cpp
|
|
Token.cpp
|
|
|
|
LINK_LIBS
|
|
clangBasic
|
|
clangLex
|
|
clangPseudoGrammar
|
|
|
|
DEPENDS
|
|
ClangDriverOptions
|
|
)
|
|
|
|
target_include_directories(clangPseudo INTERFACE
|
|
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../include>
|
|
)
|