Sets basic information about a BASIS Project and calls basis_project(). More...
Go to the source code of this file.
Sets basic information about a BASIS Project and calls basis_project().
This file defines basic information about a project by calling the basis_project() function. This basic information, also known as metadata, is used by BASIS to setup the project. Moreover, if the project is a module of another BASIS project, the dependencies to other modules have to be specified here such that the top-level project can analyze the inter-module dependencies.
However, not only dependencies to other modules can be specified here, but also dependencies on external packages. A more flexible alternative to resolve external dependencies is to add the corresponding basis_find_package() statements to the Depends.cmake file. This should, however, only be done if specifying the dependencies as arguments to the basis_project() function cannot be used to resolve the dependencies properly. If you only need to make use of additional variables set by the package configuration file of the external package or the corresponding Find<Package>.cmake module, add the related CMake code to the Settings.cmake file instead.
Example:
Definition in file BasisProject.cmake.