浏览代码

ctkDashboardDriverScript - Disable CTEST_USE_LAUNCHERS before building doc

With CTK_USE_LAUNCHER enabled, the warnings associated with the
generation of the documentation weren't sent to cdash.
Jean-Christophe Fillion-Robin 14 年之前
父节点
当前提交
0f25f77bf7
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      CMake/ctkDashboardDriverScript.cmake

+ 2 - 0
CMake/ctkDashboardDriverScript.cmake

@@ -195,12 +195,14 @@ ${ADDITIONNAL_CMAKECACHE_OPTION}
     
     if (WITH_DOCUMENTATION)
       message("----------- [ Build Documentation ] -----------")
+      set(CTEST_USE_LAUNCHERS 0)
       # 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)
+      set(CTEST_USE_LAUNCHERS 1)
     endif()
     
     # HACK Unfortunately ctest_coverage ignores the build argument, try to force it...