BASIS  r3148
BasisProject.cmake
Go to the documentation of this file.
00001 ##############################################################################
00002 # @file  BasisProject.cmake
00003 # @brief Meta-data of this BASIS project.
00004 #
00005 # This file defines project meta-data by calling the basis_project() function.
00006 # This meta-data is used by BASIS to setup the project. Moreover, if the
00007 # project is a module of another BASIS project, the dependencies to other
00008 # modules have to be specified here such that the top-level project can analyze
00009 # the inter-module dependencies.
00010 #
00011 # @sa https://www.cbica.upenn.edu/sbia/software/basis/standard/modules/
00012 #
00013 # However, not only dependencies to other modules can be specified here,
00014 # but also dependencies on external packages. A more flexible alternative to
00015 # resolve external dependencies is to add the corresponding basis_find_package()
00016 # statements to the Depends.cmake file. This should, however, only be done
00017 # if specifying the dependencies as arguments to the basis_project() function
00018 # cannot be used to resolve the dependencies properly. If you only need to
00019 # make use of additional variables set by the package configuration file
00020 # of the external package or the corresponding Find<Package>.cmake module,
00021 # add the related CMake code to the Settings.cmake file instead.
00022 #
00023 # Example:
00024 # @code
00025 # basis_project (
00026 #   # ------------------------------------------------------------------------
00027 #   # meta-data
00028 #   NAME             MyProject
00029 #   PROVIDER         PackageProvider
00030 #   VERSION          1.1.5
00031 #   DESCRIPTION      "This is the description of the project named"
00032 #                    " MyProject which follows BASIS."
00033 #   AUTHOR           "Max Muster"
00034 #   COPYRIGHT        "2012 University of Pennsylvania"
00035 #   LICENSE          "See COPYING file."
00036 #   CONTACT          "SBIA Group <sbia-software at uphs.upenn.edu>"
00037 #   # ------------------------------------------------------------------------
00038 #   # dependencies
00039 #   DEPENDS          NiftiCLib PythonInterp
00040 #   OPTIONAL_DEPENDS MPI
00041 #   TEST_DEPENDS     Perl
00042 # )
00043 # @endcode
00044 #
00045 # Copyright (c) 2011, 2012, 2013 University of Pennsylvania. All rights reserved.<br />
00046 # See https://www.cbica.upenn.edu/sbia/software/license.html or COPYING file.
00047 #
00048 # Contact: SBIA Group <sbia-software at uphs.upenn.edu>
00049 #
00050 # @ingroup BasisSettings
00051 ##############################################################################
00052 
00053 # Note: The #<*dependency> patterns are required by the basisproject tool
00054 #       and should be kept on a separate line as last commented argument of
00055 #       the corresponding options of the basis_project() command.
00056 
00057 basis_project (
00058   # --------------------------------------------------------------------------
00059   # meta-data
00060   NAME        BASIS
00061   PROVIDER    SBIA
00062   VERSION     0.0.0
00063   DESCRIPTION "This package implements and supports the development of "
00064               "software which follows the SBIA Build system And Software "
00065               "Implementation Standard (BASIS)."
00066   AUTHORS     "Andreas Schuh"
00067   COPYRIGHT   "2011, 2012, 2013 University of Pennsylvania"
00068   LICENSE     "See https://www.cbica.upenn.edu/sbia/software/license.html or COPYING file."
00069   CONTACT     "SBIA Group <sbia-software at uphs.upenn.edu>"
00070   # --------------------------------------------------------------------------
00071   # dependencies
00072   DEPENDS
00073     #<dependency>
00074   OPTIONAL_DEPENDS
00075     PythonInterp
00076     JythonInterp
00077     Perl
00078     MATLAB{matlab}
00079     BASH
00080     Doxygen
00081     Sphinx{build}
00082     ITK # TODO required by basistest-driver, get rid of this dependency
00083     #<optional-dependency>
00084   TEST_DEPENDS
00085     #<test-dependency>
00086   OPTIONAL_TEST_DEPENDS
00087     MATLAB{mex}
00088     MATLAB{mcc}
00089     #<optional-test-dependency>
00090 )