-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
db4f8ea Fredrik's documentation updates 2022-12-16 96d617d Fix restoring of PDO config Based-On-Commit: db4f8ea Change-Id: I3fd3d3863623194e89e8da7eaf09ac3cf39fea8b
- Loading branch information
rt-labs bot
committed
Jul 2, 2024
1 parent
5588bb5
commit 26faaf3
Showing
7 changed files
with
75 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -196,31 +196,21 @@ if (CMAKE_PROJECT_NAME STREQUAL CANOPEN AND BUILD_TESTING) | |
add_gtest(co_test) | ||
endif() | ||
|
||
# Doxygen configuration | ||
cmake_policy(SET CMP0057 NEW) | ||
find_package(Doxygen) | ||
if (CMAKE_PROJECT_NAME STREQUAL CANOPEN AND DOXYGEN_FOUND) | ||
set(DOXYGEN_OPTIMIZE_OUTPUT_FOR_C YES) | ||
set(DOXYGEN_TYPEDEF_HIDES_STRUCT YES) | ||
set(DOXYGEN_EXTRACT_STATIC YES) | ||
set(DOXYGEN_STRIP_CODE_COMMENTS NO) | ||
set(DOXYGEN_MACRO_EXPANSION YES) | ||
set(DOXYGEN_EXPAND_ONLY_PREDEF YES) | ||
set(DOXYGEN_PREDEFINED CO_EXPORT) | ||
set(DOXYGEN_EXPAND_AS_DEFINED CO_EXPORT) | ||
set(DOXYGEN_COLLABORATION_GRAPH NO) | ||
set(DOXYGEN_INCLUDE_GRAPH NO) | ||
set(DOXYGEN_INCLUDED_BY_GRAPH NO) | ||
set(DOXYGEN_RECURSIVE NO) | ||
set(DOXYGEN_USE_MDFILE_AS_MAINPAGE README.md) | ||
set(DOXYGEN_GENERATE_LATEX YES) | ||
doxygen_add_docs(docs | ||
README.md | ||
include | ||
src | ||
if (CMAKE_PROJECT_NAME STREQUAL CANOPEN) | ||
add_subdirectory(docs) | ||
|
||
add_custom_target(codespell | ||
COMMAND codespell | ||
${CANOPEN_SOURCE_DIR}/include/ | ||
${CANOPEN_SOURCE_DIR}/docs/ | ||
${CANOPEN_SOURCE_DIR}/src/ | ||
${CANOPEN_SOURCE_DIR}/test/ | ||
--skip *_build* | ||
COMMENT "Running spell check on source code" | ||
) | ||
endif() | ||
|
||
|
||
include (InstallRequiredSystemLibraries) | ||
set (CPACK_RESOURCE_FILE_LICENSE "${CANOPEN_SOURCE_DIR}/LICENSE.md") | ||
set (CPACK_PACKAGE_CONTACT [email protected]) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters