Explorar o código

CDash driver script considers the 'Documentation' label

Jean-Christophe Fillion-Robin %!s(int64=14) %!d(string=hai) anos
pai
achega
a9c3e96529
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      CMake/ctkDashboardDriverScript.cmake

+ 3 - 0
CMake/ctkDashboardDriverScript.cmake

@@ -194,7 +194,10 @@ ${ADDITIONNAL_CMAKECACHE_OPTION}
     endforeach()
     endforeach()
     
     
     if (WITH_DOCUMENTATION)
     if (WITH_DOCUMENTATION)
+      message("----------- [ Build Documentation ] -----------")
       # Build Documentation target
       # Build Documentation target
+      set_property(GLOBAL PROPERTY SubProject Documentation)
+      set_property(GLOBAL PROPERTY Label Documentation)
       set(CTEST_BUILD_TARGET "doc")
       set(CTEST_BUILD_TARGET "doc")
       ctest_build(BUILD "${ctk_build_dir}" APPEND)
       ctest_build(BUILD "${ctk_build_dir}" APPEND)
       ctest_submit(PARTS Build)
       ctest_submit(PARTS Build)