Skip to content

thread and command line work #284

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 8 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@ find_package(fmt REQUIRED CONFIG)
configure_file(source/Version.hpp.in "${PROJECT_SOURCE_DIR}/include/mrdox/Version.hpp")
file(GLOB_RECURSE SOURCES CONFIGURE_DEPENDS source/*.cpp source/*.hpp source/*.in source/*.natvis)
file(GLOB_RECURSE INCLUDES CONFIGURE_DEPENDS include/*.hpp)

add_executable(mrdox ${SOURCES} ${INCLUDES})

target_compile_features(mrdox PUBLIC cxx_std_20)
Expand Down Expand Up @@ -220,6 +219,16 @@ source_group(TREE ${PROJECT_SOURCE_DIR}/source PREFIX "source" FILES ${SOURCES})
#-------------------------------------------------

if (MRDOX_BUILD_TESTS)
# if we run tests, we need the addons in the right place.
add_custom_command(
TARGET mrdox
POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy
${CMAKE_SOURCE_DIR}/addons
${CMAKE_BINARY_DIR}/addons
BYPRODUCTS ${CMAKE_BINARY_DIR}/addons
)

file(GLOB_RECURSE TEST_SOURCES CONFIGURE_DEPENDS source/*.cpp source/*.hpp)
enable_testing()
add_test(NAME mrdox-test COMMAND mrdox --action test
Expand Down
3 changes: 3 additions & 0 deletions addons/generator/README.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
= Addons/Generator

Each installed generator has a corresponding directory here.
4 changes: 4 additions & 0 deletions addons/generator/asciidoc/README.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
= Addons/Generator/Asciidoc

These files are used by the Asciidoc generator.

4 changes: 4 additions & 0 deletions addons/generator/asciidoc/layouts/default.adoc.hbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
= Reference
:role: mrdox

This is a handlebars template
4 changes: 4 additions & 0 deletions addons/generator/asciidoc/partials/class.adoc.hbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
= Reference
:role: mrdox

This is a handlebars template
4 changes: 4 additions & 0 deletions addons/js/README.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
= Addons/JS

This directory holds shared JavaScript scripts and
subdirectories.
Loading