[med-svn] [Git][med-team/ants][upstream] New upstream version 2.4.3+dfsg

Pierre Gruet (@pgt) gitlab at salsa.debian.org
Tue Sep 3 20:57:21 BST 2024



Pierre Gruet pushed to branch upstream at Debian Med / ants


Commits:
7339f4c9 by Pierre Gruet at 2024-08-30T22:20:06+02:00
New upstream version 2.4.3+dfsg
- - - - -


1 changed file:

- − CMake/SlicerMacroCheckExternalProjectDependency.cmake


Changes:

=====================================
CMake/SlicerMacroCheckExternalProjectDependency.cmake deleted
=====================================
@@ -1,93 +0,0 @@
-################################################################################
-#
-#  Program: 3D Slicer
-#
-#  Copyright (c) Kitware Inc.
-#
-#  See COPYRIGHT.txt
-#  or http://www.slicer.org/copyright/copyright.txt for details.
-#
-#  Unless required by applicable law or agreed to in writing, software
-#  distributed under the License is distributed on an "AS IS" BASIS,
-#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-#  See the License for the specific language governing permissions and
-#  limitations under the License.
-#
-#  This file was originally developed by Jean-Christophe Fillion-Robin, Kitware Inc.
-#  and was partially funded by NIH grant 3P41RR013218-12S1
-#
-################################################################################
-
-if(NOT EXISTS "${EXTERNAL_PROJECT_DIR}")
-  set(EXTERNAL_PROJECT_DIR ${${CMAKE_PROJECT_NAME}_SOURCE_DIR}/SuperBuild)
-endif()
-
-###
-macro(ProjectDependancyPush CACHE_LIST VALUE)
-  list(APPEND ${CACHE_LIST} ${VALUE})
-  #message(STATUS "PUSHING ${VALUE} onto ${CACHE_LIST}:  --> ${${CACHE_LIST}}")
-endmacro()
-
-macro(ProjectDependancyPop CACHE_LIST TVAR)
-  list(GET ${CACHE_LIST} -1 ${TVAR})
-  list(REMOVE_AT ${CACHE_LIST} -1)
-  #message(STATUS "POPING ${${TVAR}} from ${CACHE_LIST}:  --> ${${CACHE_LIST}}")
-endmacro()
-
-macro(SlicerMacroCheckExternalProjectDependency proj)
-  # Set indent variable if needed
-  if(NOT DEFINED __indent)
-    set(__indent "")
-  else()
-    set(__indent "${__indent}  ")
-  endif()
-
-  # Sanity checks
-  if(NOT DEFINED ${proj}_DEPENDENCIES)
-    message(FATAL_ERROR "${__indent}${proj}_DEPENDENCIES variable is NOT defined !")
-  endif()
-
-  # Display dependency of project being processed
-  if("${${proj}_DEPENDENCIES}" STREQUAL "")
-    message(STATUS "SuperBuild - ${__indent}${proj}[OK]")
-  else()
-    set(dependency_str " ")
-    foreach(dep ${${proj}_DEPENDENCIES})
-      if(External_${dep}_FILE_INCLUDED)
-        set(dependency_str "${dependency_str}${dep}[INCLUDED], ")
-      else()
-        set(dependency_str "${dependency_str}${dep}, ")
-      endif()
-    endforeach()
-    message(STATUS "SuperBuild - ${__indent}${proj} => Requires${dependency_str}")
-  endif()
-
-  # Include dependencies
-  foreach(dep ${${proj}_DEPENDENCIES})
-    if(NOT External_${dep}_FILE_INCLUDED)
-      if(EXISTS "${EXTERNAL_PROJECT_DIR}/External_${dep}.cmake")
-        include(${EXTERNAL_PROJECT_DIR}/External_${dep}.cmake)
-      elseif(EXISTS "${Slicer_ADDITIONAL_EXTERNAL_PROJECT_DIR}/External_${dep}.cmake")
-        include(${Slicer_ADDITIONAL_EXTERNAL_PROJECT_DIR}/External_${dep}.cmake)
-      else()
-        message(FATAL_ERROR "Can't find External_${dep}.cmake")
-      endif()
-    endif()
-  endforeach()
-
-  set(__${proj}_superbuild_message "SuperBuild - ${__indent}${proj}[OK]")
-  set(__${proj}_indent ${__indent})
-
-  # If project being process has dependencies, indicates it has also been added.
-  if(NOT "${${proj}_DEPENDENCIES}" STREQUAL "")
-    message(STATUS ${__${proj}_superbuild_message})
-  endif()
-
-
-  # Update indent variable
-  string(LENGTH "${__indent}" __indent_length)
-  math(EXPR __indent_length "${__indent_length}-2")
-  if(NOT ${__indent_length} LESS 0)
-    string(SUBSTRING "${__indent}" 0 ${__indent_length} __indent)
-  endif()
-endmacro()



View it on GitLab: https://salsa.debian.org/med-team/ants/-/commit/7339f4c9caac1694fc2e221bc6ca71949e741502

-- 
View it on GitLab: https://salsa.debian.org/med-team/ants/-/commit/7339f4c9caac1694fc2e221bc6ca71949e741502
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20240903/be846ef7/attachment-0001.htm>


More information about the debian-med-commit mailing list