summaryrefslogtreecommitdiffstats
path: root/Modules/FeatureSummary.cmake
Commit message (Collapse)AuthorAgeFilesLines
* various typo and formatting fixes in manual pages (#12975)Modestas Vainius2012-02-181-1/+1
| | | | | | | | | | | | | | | | The patch fixes the following lintian warnings: W: cmake-data: manpage-has-errors-from-man usr/share/man/man1/cmakemodules.1.gz 2728: warning: macro `..' not defined I: cmake-data: spelling-error-in-manpage usr/share/man/man1/cmakemodules.1.gz overriden overridden I: cmake-data: spelling-error-in-manpage usr/share/man/man1/cmakemodules.1.gz overriden overridden I: cmake-data: spelling-error-in-manpage usr/share/man/man1/cmakemodules.1.gz explicitely explicitly I: cmake-data: spelling-error-in-manpage usr/share/man/man1/cmakemodules.1.gz jave java W: cmake-data: manpage-has-errors-from-man usr/share/man/man1/cmakeprops.1.gz 1040: warning [p 25, 3.7i]: can't break line W: cmake: manpage-has-errors-from-man usr/share/man/man1/cmake.1.gz 4233: warning [p 85, 1.3i]: can't break line I: cmake: spelling-error-in-manpage usr/share/man/man1/cmake.1.gz overriden overridden I: cmake: spelling-error-in-manpage usr/share/man/man1/cmake.1.gz overriden overridden I: cmake: spelling-error-in-manpage usr/share/man/man1/cmake.1.gz explicitely explicitly I: cmake: spelling-error-in-manpage usr/share/man/man1/cmake.1.gz jave java
* Don't warn when setting a property multiple times to the same value #12464Alex Neundorf2011-09-181-2/+2
| | | | | | Patch by Yury Kudryashov Alex
* Fix typos in FeatureSummary.cmake (#12462)Alex Neundorf2011-09-181-4/+4
| | | | | | Patch by Yury Kudrashov Alex
* Make the formatting of feature_summary output a little better.Stephen Kelly2011-08-271-1/+1
|
* FeatureSummary.cmake: update documentationAlex Neundorf2011-07-171-18/+81
| | | | Alex
* FeatureSummary.cmake: cosmeticsAlex Neundorf2011-07-171-34/+39
| | | | | | | -move the compat function to the bottom of the file -make all except one endif() empty Alex
* FeatureSummary.cmake: only higher TYPEs can override previous TYPEsAlex Neundorf2011-07-171-2/+9
| | | | | | This way e.g. a REQUIRED cannot become OPTIONAL, only the other way round Alex
* FeatureSummary.cmake: error out when a REQUIRED package is missingAlex Neundorf2011-07-171-4/+16
| | | | Alex
* FeatureSummary.cmake: add INCLUDE_QUIET_PACKAGES keywordAlex Neundorf2011-07-171-26/+38
| | | | | | | | | Now found packages are not stored in ENABLED/DISABLED_FEATURES anymore, but always in PACKAGES_FOUND/NOT_FOUND. ENABLED/DISABLED_FEATURES is now only used via ADD_FEATURE_INFO(), e.g. for stuff set via option(). Alex
* FeatureSummary.cmake: remove "comment" fieldAlex Neundorf2011-07-171-12/+8
| | | | | | | | What was given as comment to set_package_info(), now goes into the PURPOSE field. It was not clear what the comment should contain, with the PURPOSE this is much clearer now. Alex
* Extend FeatureSummary: add PURPOSE of package and TYPEAlex Neundorf2011-07-171-29/+167
| | | | | | | | | | | | | | With the PURPOSE a project can state what the package in question is used for in the project (as opposed to describing what the package does in general). TYPE can be one of OPTIONAL (default) RUNTIME - not needed for building, only at runtime RECOMMENDED - as OPTIONAL, but you should really have it REQUIRED - cmake will fail if one of these is not found This can be set using the new function set_package_properties() Alex
* Close ENDFUNCTION() properly with the same name as FUNCTION()Alex Neundorf2010-09-211-1/+1
| | | | Alex
* Set a default DESCRIPTION if none is given for ALL mode of feature_summary()Alex Neundorf2010-09-211-2/+6
| | | | Alex
* APPEND and not-APPEND mode of feature_summary() were swappedAlex Neundorf2010-09-211-2/+2
| | | | Alex
* Add macro ADD_FEATURE_INFO() and improve docs.Alex Neundorf2010-08-251-20/+70
| | | | | | | | | | ADD_FEATURE_INFO() can be used to set the info for a feature, e.g. an option(). set_feature_info() has been renamed to set_package_info(), since this is about found or not found packages. For compatiblity set_feature_info() is still provided. Alex
* Improve wording of the documentation.Alex Neundorf2010-08-241-5/+7
| | | | Alex
* Improve documentation.Alex Neundorf2010-08-241-21/+57
| | | | Alex
* Log the required package version and major improvement to FeatureSummaryAlex Neundorf2010-08-241-14/+77
| | | | | | | | | | | | | | | | | | | | find_package() now also stores the required version automatically, so it can be used by FeatureSummary.cmake. This was one of the requested features for setting up nightly builds for KDE, since with this functionality it will be possible to write a file at the end of each project which lists all required packages and their versions. This file could then be compared for equality with an older one and if something has changed the build maintainer can be emailed. In FeatureSummary.cmake there is now a new function feature_summary(), which also allows to print the log to a file or into a variable. It also allows to specify whether to append to a file or to write a new one, and what information to log. Docs are still missing. Alex
* Modules: Fix spelling 'To distributed' -> 'To distribute'Todd Gamblin2010-08-091-1/+1
|
* make it more robust wrt. #9621Alexander Neundorf2009-10-141-8/+8
| | | | | | | | | | although #9621 did not happen anymore with cmake 2.8.0, probably because GET_PROPERTY(... GLOBAL ...) now makes the result variable empty instead of simply not touching it, using FUNCTION() instead of MACRO() makes sure that the _EnabledFeatures variables is always empty before the GET_PROPERTY() call (and does not still have the old value from the previous call) Alex
* Convert CMake non-find modules to BSD LicenseBrad King2009-09-281-0/+12
| | | | | | | This adds copyright/license notification blocks CMake's non-find modules. Most of the modules had no notices at all. Some had notices referring to the BSD license already. This commit normalizes existing notices and adds missing notices.
* some white space fixes for the bookKen Martin2009-09-031-7/+9
|
* ENH: Changed signature of GET_PROPERTY command to be more powerful and ↵Brad King2008-01-171-4/+4
| | | | extendible.
* ENH: Rename SET_PROPERITES command to SET_PROPERTY and give it a more ↵Brad King2008-01-171-3/+3
| | | | powerful signature.
* ENH: add global properties for collecting enabled/disabled features duringAlexander Neundorf2007-08-071-0/+64
the cmake run and add macros print_enabled/disabled_features() and set_feature_info(), so projects can get a nice overview at the end of the cmake run what has been found and what hasn't FIND_PACKAGE() automatically adds the packages to these global properties, except when used with QUIET Maybe this can also be useful for packagers to find out dependencies of projects. Alex