[ismrmrd] 24/177: Removed unused cmake files.
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Wed Jan 14 20:01:58 UTC 2015
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to annotated tag v1.1.0.beta.1
in repository ismrmrd.
commit 72acd13c21508e8313cb2f77cc16b5470111c5cf
Author: Souheil Inati <souheil.inati at nih.gov>
Date: Mon Aug 25 16:42:26 2014 -0400
Removed unused cmake files.
---
cmake/FindXSD.cmake | 68 -------------------------------------------------
cmake/FindXercesC.cmake | 39 ----------------------------
2 files changed, 107 deletions(-)
diff --git a/cmake/FindXSD.cmake b/cmake/FindXSD.cmake
deleted file mode 100644
index 5c8f6ef..0000000
--- a/cmake/FindXSD.cmake
+++ /dev/null
@@ -1,68 +0,0 @@
-# - Find CodeSynthesis XSD
-# This module can be used to find XSD and it's include path
-# Variables:
-# XSD_FOUND - System has XSD
-# XSD_EXECUTABLE - XSD binary executable
-# XSD_INCLUDE_DIR - XSD include directory
-#
-# Functions:
-# WRAP_XSD - Generates C++ bindings in the given output directory for a given schema file
-
-if(NOT DEFINED XSD_DIR AND DEFINED ENV{XSD_DIR})
- set(XSD_DIR $ENV{XSD_DIR})
-endif(NOT DEFINED XSD_DIR AND DEFINED ENV{XSD_DIR})
-
-find_program(XSD_EXECUTABLE NAMES xsdcxx xsd xsd.exe
- PATHS ${XSD_DIR} /usr /usr/local
- PATH_SUFFIXES bin
-)
-
-find_path(XSD_INCLUDE_DIR NAMES xsd/cxx/pre.hxx
- PATHS ${XSD_DIR} /usr /usr/local
- PATH_SUFFIXES include
-)
-
-FUNCTION(XSD_EXTRACT_OPTIONS _xsd_files _xsd_options)
- foreach(current_arg ${ARGN})
- IF(${current_arg} STREQUAL "OPTIONS")
- SET(_XSD_DOING_OPTIONS TRUE)
- else(${current_arg} STREQUAL "OPTIONS")
- if(_XSD_DOING_OPTIONS)
- SET(_xsd_options_p ${_xsd_options_p} ${current_arg})
- else(_XSD_DOING_OPTIONS)
- SET(_xsd_files_p ${_xsd_files_p} ${current_arg})
- endif(_XSD_DOING_OPTIONS)
- endif(${current_arg} STREQUAL "OPTIONS")
- endforeach(current_arg)
- SET(${_xsd_files} ${_xsd_files_p} PARENT_SCOPE)
- SET(${_xsd_options} ${_xsd_options_p} PARENT_SCOPE)
-ENDFUNCTION(XSD_EXTRACT_OPTIONS)
-
-
-FUNCTION(WRAP_XSD XSD_SRCS XSD_INCLUDES OUT_PATH)
- SET(OUTPUT_DIR ${CMAKE_CURRENT_BINARY_DIR}/src/xsd)
- FILE(MAKE_DIRECTORY ${OUTPUT_DIR})
- SET(${XSD_INCLUDES} ${OUTPUT_DIR} PARENT_SCOPE)
- XSD_EXTRACT_OPTIONS(xsd_files xsd_options ${ARGN})
- FOREACH(it ${xsd_files})
- STRING(REGEX REPLACE ".*/" "" BARE_XSD "${it}" )
- STRING(REGEX REPLACE ".xsd" ".cxx" SOURCE "${BARE_XSD}" )
- STRING(REGEX REPLACE ".xsd" ".hxx" HEADER "${BARE_XSD}" )
- CONFIGURE_FILE(${it} ${OUT_PATH}/${BARE_XSD} COPY_ONLY)
- SET(SOURCE ${OUTPUT_DIR}/${SOURCE})
- SET(HEADER ${OUTPUT_DIR}/${HEADER})
- ADD_CUSTOM_COMMAND(OUTPUT ${SOURCE} ${HEADER}
- COMMAND ${XSD_EXECUTABLE} ${xsd_options} "--output-dir" ${OUTPUT_DIR} ${OUT_PATH}/${BARE_XSD}
- DEPENDS ${it}
- VERBATIM
- )
- set_source_files_properties(${HEADER} PROPERTIES GENERATED TRUE)
- set_source_files_properties(${SOURCE} PROPERTIES GENERATED TRUE)
- SET(_XSD_SRCS ${_XSD_SRCS} ${SOURCE} ${HEADER})
- ENDFOREACH(it)
- SET(${XSD_SRCS} ${_XSD_SRCS} PARENT_SCOPE)
-ENDFUNCTION(WRAP_XSD)
-
-include(FindPackageHandleStandardArgs)
-find_package_handle_standard_args(XSD DEFAULT_MSG XSD_INCLUDE_DIR XSD_EXECUTABLE)
-mark_as_advanced(XSD_INCLUDE_DIR XSD_EXECUTABLE)
diff --git a/cmake/FindXercesC.cmake b/cmake/FindXercesC.cmake
deleted file mode 100644
index 2a40c5b..0000000
--- a/cmake/FindXercesC.cmake
+++ /dev/null
@@ -1,39 +0,0 @@
-# This module defines
-# XERCESC_INCLUDE_DIR, where to find ptlib.h, etc.
-# XERCESC_LIBRARIES, the libraries to link against to use pwlib.
-# XERCESC_FOUND, If false, don't try to use pwlib.
-
-FIND_PATH(XERCESC_INCLUDE_DIR xercesc/dom/DOM.hpp
- "[HKEY_CURRENT_USER\\software\\xerces-c\\src]"
- "[HKEY_CURRENT_USER\\xerces-c\\src]"
- $ENV{XERCESCROOT}/src/
- /usr/local/include
- /usr/include
- /opt/local/include
-)
-
-FIND_LIBRARY(XERCESC_LIBRARIES
- NAMES
- xerces-c
- PATHS
- "[HKEY_CURRENT_USER\\software\\xerces-c\\lib]"
- "[HKEY_CURRENT_USER\\xerces-c\\lib]"
- $ENV{XERCESCROOT}/lib
- /usr/local/lib
- /usr/lib
- /opt/local/lib
-)
-
-# if the include a the library are found then we have it
-IF(XERCESC_INCLUDE_DIR)
- IF(XERCESC_LIBRARIES)
- SET( XERCESC_FOUND "YES" )
- ENDIF(XERCESC_LIBRARIES)
-ENDIF(XERCESC_INCLUDE_DIR)
-
-
-
-MARK_AS_ADVANCED(
- XERCESC_INCLUDE_DIR
- XERCESC_LIBRARIES
-)
\ No newline at end of file
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/ismrmrd.git
More information about the debian-science-commits
mailing list