Commit 5b4a3712 authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

CI: enable doxygen on only one platform

No related merge requests found
Showing with 3 additions and 1 deletion
+3 -1
...@@ -70,6 +70,7 @@ set (OTB_LARGEINPUT_ROOT "") # todo ...@@ -70,6 +70,7 @@ set (OTB_LARGEINPUT_ROOT "") # todo
message(STATUS "CI profile : ${ci_profile}") message(STATUS "CI profile : ${ci_profile}")
#The following file set the CONFIGURE_OPTIONS variable #The following file set the CONFIGURE_OPTIONS variable
set (ENABLE_DOXYGEN OFF)
set (CONFIGURE_OPTIONS "") set (CONFIGURE_OPTIONS "")
include ( "${CMAKE_CURRENT_LIST_DIR}/configure_option.cmake" ) include ( "${CMAKE_CURRENT_LIST_DIR}/configure_option.cmake" )
...@@ -108,7 +109,7 @@ if ( NOT _build_rv EQUAL 0 ) ...@@ -108,7 +109,7 @@ if ( NOT _build_rv EQUAL 0 )
message( SEND_ERROR "An error occurs during ctest_build.") message( SEND_ERROR "An error occurs during ctest_build.")
endif() endif()
if(NOT ${ci_do_doxygen} EQUAL -1) if(ENABLE_DOXYGEN)
# compile doxygen # compile doxygen
ctest_build(BUILD "${CTEST_BINARY_DIRECTORY}" ctest_build(BUILD "${CTEST_BINARY_DIRECTORY}"
TARGET Documentation TARGET Documentation
......
...@@ -40,4 +40,5 @@ if(NOT ${ci_do_doxygen} EQUAL -1) ...@@ -40,4 +40,5 @@ if(NOT ${ci_do_doxygen} EQUAL -1)
set(site_option set(site_option
"${site_option} "${site_option}
BUILD_DOCUMENTATION:BOOL=ON") BUILD_DOCUMENTATION:BOOL=ON")
set (ENABLE_DOXYGEN ON)
endif() endif()
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment