Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
Actor Framework
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
Actor Framework
Commits
ee359ebd
Commit
ee359ebd
authored
Sep 20, 2018
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add new meta-target doc
parent
009b5086
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
doc/CMakeLists.txt
doc/CMakeLists.txt
+5
-0
No files found.
doc/CMakeLists.txt
View file @
ee359ebd
...
...
@@ -2,6 +2,8 @@ cmake_minimum_required(VERSION 3.10)
project
(
doc NONE
)
add_custom_target
(
doc
)
# -- list all .tex source files ------------------------------------------------
set
(
sources
...
...
@@ -70,6 +72,7 @@ else()
WORKING_DIRECTORY
"
${
CMAKE_CURRENT_BINARY_DIR
}
"
COMMENT
"Generating API documentation with Doxygen"
VERBATIM
)
add_dependencies
(
doc doxygen
)
endif
()
# -- Pandoc utility macro ------------------------------------------------------
...
...
@@ -106,6 +109,7 @@ else()
IMAGE_DIRS
"pdf"
FORCE_PDF
TARGET_NAME manual
)
add_dependencies
(
doc manual
)
find_program
(
PANDOC_EXECUTABLE pandoc
)
if
(
NOT EXISTS
${
PANDOC_EXECUTABLE
}
)
message
(
STATUS
"Pandoc not found, skip generating reFormattedText version of the manual."
)
...
...
@@ -120,6 +124,7 @@ else()
else
()
message
(
STATUS
"Add optional target: rst."
)
add_custom_target
(
rst
)
add_dependencies
(
doc rst
)
foreach
(
texfile
${
sources
}
)
generate_rst
(
${
texfile
}
)
endforeach
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment