xo-umbrella2/src/tokenizer2/CMakeLists.txt
2026-03-27 11:16:28 -04:00

18 lines
494 B
CMake

# tokenizer2/CMakeLists.txt
set(SELF_LIB xo_tokenizer2)
set(SELF_SRCS
Tokenizer.cpp
TokenizerError.cpp
TkInputState.cpp
scan_result.cpp
Token.cpp
tokentype.cpp)
xo_add_shared_library4(${SELF_LIB} ${PROJECT_NAME}Targets ${PROJECT_VERSION} 1 ${SELF_SRCS})
# deps must coordinate with xo-tokenizer/cmake/xo_tokenizer2Config.cmake.in
xo_dependency(${SELF_LIB} xo_stringtable2)
xo_dependency(${SELF_LIB} xo_arena)
xo_dependency(${SELF_LIB} indentlog)
# end CMakeLists.txt