瀏覽代碼

ENH: Project.xml is now generated using the complete tree of dependencies.

All dashboard are now likely to submit the same Project.xml file.
Jean-Christophe Fillion-Robin 15 年之前
父節點
當前提交
a61b600848
共有 1 個文件被更改,包括 4 次插入2 次删除
  1. 4 2
      CMake/ctkMacroGenerateProjectXml.cmake

+ 4 - 2
CMake/ctkMacroGenerateProjectXml.cmake

@@ -29,7 +29,9 @@ MACRO(ctkMacroGenerateProjectXml dir name target_directories is_superbuild)
       MESSAGE(FATAL_ERROR "Target directory ${target_dir}/CMakeLists.txt doesn't exists !")
     ENDIF()
 
-    IF(${${option_name}})
+    # Remarks: Project.xml should contains all sub-project. That way
+    # all dashboards should submit a similar file.
+    #IF(${${option_name}})
 
       # extract project name from CMakeLists.txt
       FILE(STRINGS "${target_dir}/CMakeLists.txt" project_string
@@ -66,7 +68,7 @@ MACRO(ctkMacroGenerateProjectXml dir name target_directories is_superbuild)
       ENDFOREACH()
       
       SET(xml_subprojects ${xml_subprojects} "  </SubProject>\n")
-    ENDIF()
+    #ENDIF()
   ENDFOREACH()
    
   SET(xml_content "<Project name=\"${name}\">\n${xml_subprojects}</Project>")