BasisTools.cmake
Go to the documentation of this file.
00001 ############################################################################## 00002 # @file BasisTools.cmake 00003 # @brief Definition of functions and macros used by BASIS project. 00004 # 00005 # This is the main module that is included by BASIS projects. Most of the other 00006 # BASIS CMake modules are included by this main module and hence do not need 00007 # to be included separately. In particular, all CMake modules which are part 00008 # of BASIS and whose name does not include the prefix "Basis" are not 00009 # supposed to be included directly by a project that makes use of BASIS. 00010 # Only the modules with the prefix "Basis" should be included directly. 00011 # 00012 # Copyright (c) 2011, 2012 University of Pennsylvania. All rights reserved.<br /> 00013 # See https://www.cbica.upenn.edu/sbia/software/license.html or COPYING file. 00014 # 00015 # Contact: SBIA Group <sbia-software at uphs.upenn.edu> 00016 # 00017 # @ingroup CMakeAPI 00018 ############################################################################## 00019 00020 # ---------------------------------------------------------------------------- 00021 # include guard 00022 if (__BASIS_TOOLS_INCLUDED) 00023 return () 00024 else () 00025 set (__BASIS_TOOLS_INCLUDED TRUE) 00026 endif () 00027 00028 # ---------------------------------------------------------------------------- 00029 # append CMake module path of BASIS to CMAKE_MODULE_PATH 00030 set (CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}" ${CMAKE_MODULE_PATH}) 00031 00032 # ---------------------------------------------------------------------------- 00033 # externally developed modules 00034 00035 # ExternalData.cmake module - yet only part of ITK, not CMake 00036 include ("${CMAKE_CURRENT_LIST_DIR}/ExternalData.cmake") 00037 00038 # the module for the topological sort of modules according to their 00039 # inter-dependencies was copied from the ITK v4 project 00040 include ("${CMAKE_CURRENT_LIST_DIR}/TopologicalSort.cmake") 00041 00042 # ---------------------------------------------------------------------------- 00043 # BASIS modules 00044 include ("${CMAKE_CURRENT_LIST_DIR}/CommonTools.cmake") 00045 include ("${CMAKE_CURRENT_LIST_DIR}/DocTools.cmake") 00046 include ("${CMAKE_CURRENT_LIST_DIR}/InterpTools.cmake") 00047 include ("${CMAKE_CURRENT_LIST_DIR}/InstallationTools.cmake") 00048 include ("${CMAKE_CURRENT_LIST_DIR}/MatlabTools.cmake") 00049 include ("${CMAKE_CURRENT_LIST_DIR}/ProjectTools.cmake") 00050 include ("${CMAKE_CURRENT_LIST_DIR}/RevisionTools.cmake") 00051 include ("${CMAKE_CURRENT_LIST_DIR}/SlicerTools.cmake") 00052 include ("${CMAKE_CURRENT_LIST_DIR}/TargetTools.cmake") 00053 include ("${CMAKE_CURRENT_LIST_DIR}/ExportTools.cmake") 00054 include ("${CMAKE_CURRENT_LIST_DIR}/ImportTools.cmake") 00055 include ("${CMAKE_CURRENT_LIST_DIR}/UtilitiesTools.cmake")