ソースを参照

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...