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
2f04ab2b
Commit
2f04ab2b
authored
Jan 30, 2020
by
Dominik Charousset
Committed by
Dominik Charousset
Jan 30, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Omit building the docs in subdirectory mode
parent
40c788a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
19 deletions
+10
-19
CMakeLists.txt
CMakeLists.txt
+10
-19
No files found.
CMakeLists.txt
View file @
2f04ab2b
...
...
@@ -682,27 +682,18 @@ if(NOT CAF_NO_UNIT_TESTS)
endif
()
# -- Fetch branch name and SHA if available ------------------------------------
if
(
EXISTS
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/release.txt"
)
file
(
READ
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/release.txt"
CAF_RELEASE
)
string
(
REGEX REPLACE
"
\n
"
""
CAF_RELEASE
"
${
CAF_RELEASE
}
"
)
else
()
set
(
CAF_RELEASE
"
${
CAF_VERSION
}
"
)
endif
()
message
(
STATUS
"Set release version for all documentation to
${
CAF_RELEASE
}
."
)
# -- Setup for building manual and API documentation ---------------------------
add_subdirectory
(
doc
)
################################################################################
# Add additional project files to GUI #
################################################################################
file
(
GLOB_RECURSE script_files
"scripts/*"
)
add_custom_target
(
gui_dummy SOURCES configure
${
script_files
}
)
if
(
NOT caf_is_subproject
)
if
(
EXISTS
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/release.txt"
)
file
(
READ
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/release.txt"
CAF_RELEASE
)
string
(
REGEX REPLACE
"
\n
"
""
CAF_RELEASE
"
${
CAF_RELEASE
}
"
)
else
()
set
(
CAF_RELEASE
"
${
CAF_VERSION
}
"
)
endif
()
message
(
STATUS
"Set release version for all documentation to
${
CAF_RELEASE
}
."
)
add_subdirectory
(
doc
)
endif
()
# -- Export important variables to the parent scope ----------------------------
...
...
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