BASIS  version 1.2.3 (revision 2104)
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 (see @ref ProjectModules).
00010 #
00011 # However, not only dependencies to other modules can be specified here,
00012 # but also dependencies on external packages. A more flexible alternative to
00013 # resolve external dependencies is to add the corresponding basis_find_package()
00014 # statements to the Depends.cmake file. This should, however, only be done
00015 # if specifying the dependencies as arguments to the basis_project() function
00016 # cannot be used to resolve the dependencies properly. If you only need to
00017 # make use of additional variables set by the package configuration file
00018 # of the external package or the corresponding Find<Package>.cmake module,
00019 # add the related CMake code to the Settings.cmake file instead.
00020 #
00021 # Example:
00022 # @code
00023 # basis_project (
00024 #   NAME
00025 #     "MyProject"
00026 #   VERSION
00027 #     1.1.5
00028 #   DESCRIPTION
00029 #     "This is the description of the project named"
00030 #     " MyProject which follows BASIS."
00031 #   DEPENDS
00032 #     NiftiCLib
00033 #     Python
00034 #   OPTIONAL_DEPENDS
00035 #     MPI
00036 #   TEST_DEPENDS
00037 #     Perl
00038 # )
00039 # @endcode
00040 #
00041 # Copyright (c) 2011, 2012 University of Pennsylvania. All rights reserved.<br />
00042 # See https://www.cbica.upenn.edu/sbia/software/license.html or COPYING file.
00043 #
00044 # Contact: SBIA Group <sbia-software at uphs.upenn.edu>
00045 #
00046 # @ingroup BasisSettings
00047 ##############################################################################
00048 
00049 # Note: The #<*dependency> patterns are required by the basisproject tool
00050 #       and should be kept on a separate line as last commented argument of
00051 #       the corresponding options of the basis_project() command.
00052 
00053 basis_project (
00054   NAME
00055     "BASIS"
00056   VERSION
00057     1.2.3
00058   DESCRIPTION
00059     "This package implements and supports the development of "
00060     "software which follows the SBIA Build system And Software "
00061     "Implementation Standard (BASIS)."
00062   DEPENDS
00063     #<dependency>
00064   OPTIONAL_DEPENDS
00065     PythonInterp
00066     Perl
00067     BASH
00068     ITK-4{ITKTestKernel}
00069     ITK
00070     #<optional-dependency>
00071   TEST_DEPENDS
00072     #<test-dependency>
00073   OPTIONAL_TEST_DEPENDS
00074     MATLAB
00075     #<optional-test-dependency>
00076 )