removed doxygen stuff

This commit is contained in:
Jake Goodwin 2025-01-22 21:08:48 -08:00
parent f98fb7dc2e
commit d78d7e2e95
2 changed files with 1 additions and 32 deletions

View File

@ -25,5 +25,6 @@ development board.
- [X] Remove CMSIS stuff - [X] Remove CMSIS stuff
- [X] Remove Unity test framework stuff. - [X] Remove Unity test framework stuff.
- [X] Remove HAL stuff. - [X] Remove HAL stuff.
- [X] Remove doxygen stuff from toolchain file.
- [ ] Check through debuging flags in toolchain file. - [ ] Check through debuging flags in toolchain file.

View File

@ -259,38 +259,6 @@ if(TARGET_GROUP STREQUAL production)
-ex "monitor arm semihosting enable" -ex "monitor arm semihosting enable"
) )
######################################################################
# @Target: doc
# @Brief: Generate doxygen documentation
######################################################################
# check if Doxygen is installed
find_package(Doxygen)
if (DOXYGEN_FOUND)
# set input and output files
set(DOXYGEN_IN ${CMAKE_CURRENT_SOURCE_DIR}/docs/Doxyfile.in)
set(DOXYGEN_OUT ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile)
# exclude folders while making documentation
# should be separated by spaces
set(DOXYGEN_EXCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/components/* ${CMAKE_CURRENT_SOURCE_DIR}/build/* ${CMAKE_CURRENT_SOURCE_DIR}/${MCU_DIR}*")
# set mainpage in doxygen
set(DOXYGEN_MAIN_PAGE "README.md")
# request to configure the file
configure_file(${DOXYGEN_IN} ${DOXYGEN_OUT} @ONLY)
message("Doxygen build started")
# note the option ALL which allows to build the docs together with the application
add_custom_target(docs
COMMAND ${DOXYGEN_EXECUTABLE} ${DOXYGEN_OUT}
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Generating API documentation with Doxygen"
VERBATIM )
else (DOXYGEN_FOUND)
message("Doxygen need to be installed to generate the doxygen documentation")
endif (DOXYGEN_FOUND)
# Add additional files to the make clean # Add additional files to the make clean
set_property(DIRECTORY PROPERTY ADDITIONAL_MAKE_CLEAN_FILES set_property(DIRECTORY PROPERTY ADDITIONAL_MAKE_CLEAN_FILES
"${PROJECT_NAME}.map" "${PROJECT_NAME}.map"