diff options
author | Alexander Neundorf <neundorf@kde.org> | 2008-02-18 19:06:32 +0000 |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2008-02-18 19:06:32 +0000 |
commit | 814455b7ad321c88e730662fda58261087b72e72 (patch) | |
tree | 76fa7d21fb68d40ed2c8c1ad116e9dd5fccd91a5 /modules/FindPackageHandleStandardArgs.cmake | |
parent | e87d6853ee74980b2a16cc46f0d39a031a58d658 (diff) | |
download | extra-cmake-modules-814455b7ad321c88e730662fda58261087b72e72.tar.gz extra-cmake-modules-814455b7ad321c88e730662fda58261087b72e72.tar.bz2 |
some improvements to the docs:
-some modules were not at all documented, only few are left now
-the copyright message doesn't have to be printed for every module in the docs
-fix FindKorundom.cmake, it didn't follow the style guide and had typos (e.g. Korumdum_FOUND instead of KORUNDUM_FOUND)
Alex
(will commit modified FindKDE4Internal.cmake after Christians commit)
svn path=/trunk/KDE/kdelibs/; revision=776742
Diffstat (limited to 'modules/FindPackageHandleStandardArgs.cmake')
-rw-r--r-- | modules/FindPackageHandleStandardArgs.cmake | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/modules/FindPackageHandleStandardArgs.cmake b/modules/FindPackageHandleStandardArgs.cmake index 151d8125..7f122edc 100644 --- a/modules/FindPackageHandleStandardArgs.cmake +++ b/modules/FindPackageHandleStandardArgs.cmake @@ -1,21 +1,23 @@ # FIND_PACKAGE_HANDLE_STANDARD_ARGS(NAME (DEFAULT_MSG|"Custom failure message") VAR1 ... ) -# This macro is intended to be used in FindXXX.cmake modules files. -# It handles the REQUIRED and QUIET argument to FIND_PACKAGE() and -# it also sets the <UPPERCASED_NAME>_FOUND variable. -# The package is found if all variables listed are TRUE. -# Example: +# +# This macro is intended to be used in FindXXX.cmake modules files. +# It handles the REQUIRED and QUIET argument to FIND_PACKAGE() and +# it also sets the <UPPERCASED_NAME>_FOUND variable. +# The package is found if all variables listed are TRUE. +# Example: # # FIND_PACKAGE_HANDLE_STANDARD_ARGS(LibXml2 DEFAULT_MSG LIBXML2_LIBRARIES LIBXML2_INCLUDE_DIR) # -# LibXml2 is considered to be found, if both LIBXML2_LIBRARIES and -# LIBXML2_INCLUDE_DIR are valid. Then also LIBXML2_FOUND is set to TRUE. -# If it is not found and REQUIRED was used, it fails with FATAL_ERROR, -# independent whether QUIET was used or not. -# If it is found, the location is reported using the VAR1 argument, so -# here a message "Found LibXml2: /usr/lib/libxml2.so" will be printed out. -# If the second argument is DEFAULT_MSG, the message in the failure case will -# be "Could NOT find LibXml2", if you don't like this message you can specify -# your own custom failure message there. +# LibXml2 is considered to be found, if both LIBXML2_LIBRARIES and +# LIBXML2_INCLUDE_DIR are valid. Then also LIBXML2_FOUND is set to TRUE. +# If it is not found and REQUIRED was used, it fails with FATAL_ERROR, +# independent whether QUIET was used or not. +# +# If it is found, the location is reported using the VAR1 argument, so +# here a message "Found LibXml2: /usr/lib/libxml2.so" will be printed out. +# If the second argument is DEFAULT_MSG, the message in the failure case will +# be "Could NOT find LibXml2", if you don't like this message you can specify +# your own custom failure message there. MACRO(FIND_PACKAGE_HANDLE_STANDARD_ARGS _NAME _FAIL_MSG _VAR1 ) |