xo-tokenizer: build + install docs + examples + build fixes
This commit is contained in:
parent
9b830baefb
commit
25ab8a1d27
3 changed files with 6 additions and 2 deletions
|
|
@ -23,6 +23,10 @@ add_subdirectory(example)
|
|||
add_subdirectory(utest)
|
||||
xo_export_cmake_config(${PROJECT_NAME} ${PROJECT_VERSION} ${PROJECT_NAME}Targets)
|
||||
|
||||
if (XO_ENABLE_EXAMPLES)
|
||||
install(TARGETS xo_tokenizer_repl DESTINATION bin/xo/example/tokenizer)
|
||||
endif()
|
||||
|
||||
# ----------------------------------------------------------------
|
||||
# docs targets depend on all the other library/utest targets
|
||||
#
|
||||
|
|
|
|||
|
|
@ -5,5 +5,5 @@ xo_docdir_doxygen_config()
|
|||
xo_docdir_sphinx_config(
|
||||
index.rst install.rst examples.rst implementation.rst
|
||||
input-state-class.rst scan-result-class.rst schematika-tokens.rst span-class.rst
|
||||
token-class-rst tokenizer-error-class.rst tokentype-enum.rst
|
||||
token-class.rst tokenizer-error-class.rst tokentype-enum.rst
|
||||
)
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ set(SELF_SRCS tokenrepl.cpp)
|
|||
|
||||
if (XO_ENABLE_EXAMPLES)
|
||||
xo_add_executable(${SELF_EXE} ${SELF_SRCS})
|
||||
xo_dependency(${SELF_EXE} xo_tokenizer)
|
||||
xo_self_dependency(${SELF_EXE} xo_tokenizer)
|
||||
endif()
|
||||
|
||||
# end CMakeLists.txt
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue