Skip to content

Commit

Permalink
moved docs to doc
Browse files Browse the repository at this point in the history
  • Loading branch information
pariterre committed Oct 16, 2019
1 parent e9f295b commit f0cff73
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Expand Up @@ -76,7 +76,7 @@ endif(NOT WIN32)
# Doc
option(BUILD_DOC "Build documentation" OFF)
if (BUILD_DOC)
add_subdirectory(docs)
add_subdirectory(doc)
endif (BUILD_DOC)

# Testing
Expand Down
4 changes: 2 additions & 2 deletions docs/CMakeLists.txt → doc/CMakeLists.txt
@@ -1,5 +1,5 @@
set(MASTER_PROJECT_NAME ${PROJECT_NAME})
project(${MASTER_PROJECT_NAME}_docs)
project(${MASTER_PROJECT_NAME}_doc)

# check if Doxygen is installed
find_package(Doxygen REQUIRED)
Expand All @@ -10,7 +10,7 @@ set(DOXYGEN_OUT ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile)
# request to configure the file
configure_file(${DOXYGEN_IN} ${DOXYGEN_OUT} @ONLY)

# note the option ALL which allows to build the docs together with the application
# note the option ALL which allows to build the doc together with the application
add_custom_target( doc_doxygen ALL
COMMAND ${DOXYGEN_EXECUTABLE} ${DOXYGEN_OUT}
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
Expand Down
2 changes: 1 addition & 1 deletion docs/Doxyfile.in → doc/Doxyfile.in
@@ -1,7 +1,7 @@
OUTPUT_DIRECTORY = @CMAKE_CURRENT_BINARY_DIR@/
INPUT += @CMAKE_SOURCE_DIR@/include/
INPUT += @CMAKE_SOURCE_DIR@/src/
INPUT += @CMAKE_SOURCE_DIR@/docs
INPUT += @CMAKE_SOURCE_DIR@/doc

# Remove dll_export that confuses Doxygen
ENABLE_PREPROCESSING = YES
Expand Down

0 comments on commit f0cff73

Please sign in to comment.