Skip to content

Commit

Permalink
fusion draft PR commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Nye committed Dec 28, 2023
1 parent e3e1412 commit 8d40b08
Show file tree
Hide file tree
Showing 23 changed files with 4,053 additions and 0 deletions.
30 changes: 30 additions & 0 deletions fusion/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
cmake_minimum_required(VERSION 3.17)
project(FusionProject)

set(CMAKE_POSITION_INDEPENDENT_CODE ON)

# Add subdirectories
add_subdirectory(fusion)
add_subdirectory(test)

# Check if Doxygen is installed
find_package(Doxygen)
if(DOXYGEN_FOUND)
# Set input and output files
set(DOXYGEN_IN ${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile)
set(DOXYGEN_OUT ${CMAKE_CURRENT_BINARY_DIR}/Doxygen)

# Request to configure the file
configure_file(${DOXYGEN_IN} ${DOXYGEN_OUT} @ONLY)

# Add a custom target to run Doxygen when user types "make docs"
add_custom_target(docs
COMMAND ${DOXYGEN_EXECUTABLE} ${DOXYGEN_OUT}
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
COMMENT "Generating API documentation with Doxygen"
VERBATIM)
else(DOXYGEN_FOUND)
message("Doxygen needs to be installed to generate the doxygen documentation")
endif(DOXYGEN_FOUND)


Loading

0 comments on commit 8d40b08

Please sign in to comment.