瀏覽代碼

CDash driver script considers the 'Documentation' label

Jean-Christophe Fillion-Robin 14 年之前
父節點
當前提交
a9c3e96529
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      CMake/ctkDashboardDriverScript.cmake

+ 3 - 0
CMake/ctkDashboardDriverScript.cmake

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