CMake/Tests/FindPackageTest
Daniele E. Domenichelli be8ae96098 Allow the Package Registry to be disabled (#14849)
When a project is packaged for redistribution the local package
registries should not be updated or consulted.  They are for developers.

Add variables to disable use of package registries globally:

* CMAKE_EXPORT_NO_PACKAGE_REGISTRY that disables the export(PACKAGE)
  command
* CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY that disables the User Package
  Registry in all the find_package calls.
* CMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY that disables the
  System Package Registry in all the find_package calls.

Update documentation and unit tests.
2014-05-12 09:50:01 -04:00
..
A ENH: Add test for new find_* command HINTS option. 2008-06-09 15:09:14 -04:00
B ENH: Add test for new find_* command HINTS option. 2008-06-09 15:09:14 -04:00
Baz 1.1 Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
Baz 1.2/CMake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
Exporter Tests: Improve FindPackageTest exported package version 2014-05-12 09:44:28 -04:00
SystemPackage find_package: Test system package registry when possible 2011-04-13 14:28:00 -04:00
TApp.app/Contents/Resources ENH: Updated FindPackageTest to test new find_package command features. 2008-01-17 09:06:36 -05:00
TFramework.framework/Versions/A/Resources ENH: Updated FindPackageTest to test new find_package command features. 2008-01-17 09:06:36 -05:00
cmake find_package: add test for setting Foo_FOUND to FALSE in a Config file 2012-03-13 16:56:52 -04:00
include ENH: add support for CMAKE_FIND_PREFIX_PATH as discussed with Brad. 2007-10-26 09:55:40 -04:00
lib Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
CMakeLists.txt Allow the Package Registry to be disabled (#14849) 2014-05-12 09:50:01 -04:00
FindLotsOfComponents.cmake CMP0017: Fix check when including from CMake source tree 2014-03-04 09:35:00 -05:00
FindPackageHandleStandardArgs.cmake Prefer files from CMAKE_ROOT when including from CMAKE_ROOT 2011-01-04 08:06:20 -05:00
FindPackageTest.cxx ENH: Added FindPackageTest to improve coverage. 2003-07-24 11:33:06 -04:00
FindRecursiveA.cmake Convert CMake-language commands to lower case 2012-08-13 14:19:16 -04:00
FindRecursiveB.cmake Convert CMake-language commands to lower case 2012-08-13 14:19:16 -04:00
FindRecursiveC.cmake Convert CMake-language commands to lower case 2012-08-13 14:19:16 -04:00
FindSomePackage.cmake CMP0017: Fix check when including from CMake source tree 2014-03-04 09:35:00 -05:00
FindUpperCasePackage.cmake CMP0017: Fix check when including from CMake source tree 2014-03-04 09:35:00 -05:00
FindVersionTestA.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
FindVersionTestB.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
FindVersionTestC.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
FindVersionTestD.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
RelocatableConfig.cmake.in add macro check_required_components() to configure_package_config_file() 2012-03-19 10:53:36 -04:00