summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/find_file
Commit message (Collapse)AuthorAgeFilesLines
* Tests/RunCMake: Update cmake_minimum_required versionsBrad King2023-02-111-1/+1
| | | | | | | | For policy-specific tests, use the version before the policy was introduced. Otherwise, use 3.5 where possible. Also, remove `cmake_minimum_required()` and `project()` calls from individual cases where they are handled by `CMakeLists.txt`.
* find_(program,library,file,path): add validation functionMarc Chevrier2022-06-1413-0/+73
| | | | Fixes: #23603
* find_* commands: add control over Windows registry viewsMarc Chevrier2022-04-2918-0/+260
| | | | Fixes: #22775
* Find: Support per call disabling of CMAKE_INSTALL_PREFIXRobert Maynard2022-04-152-0/+3
| | | | Fixes #23359
* cmake: Add filtered debug-find optionsJohn Parent2021-12-177-0/+87
| | | | | | | | | | Add a `--debug-find-pkg=` option to debug find calls for specific packages. Add a `--debug-find-var=` option to debug find calls for specific return variables. Fixes: #21880
* find_*: Add support for option NO_CACHEMarc Chevrier2021-06-023-0/+148
| | | | | | | | Request that find result is stored in a normal variable rather than a cache entry. Fixes: #20687 Issue: #20743
* MSYS: Add support for running under MSYS runtime environmentOrgad Shaneh2021-04-262-0/+13
| | | | Detect MSYS as CYGWIN, with the required adaptations.
* find_*: Add support for REQUIRED keywordSylvain Joubert2020-03-065-0/+19
| | | | | | In the same spirit as the REQUIRED keyword on find_package, this will stop cmake execution with an error on a failed find_program, find_file, find_path or find_library.
* find_*: Use debug logging infrastructureRobert Maynard2019-12-192-0/+19
| | | | | | Teach the find_package, find_library, find_program, find_path, and find_file commands to print debug log messages when enabled by the `--debug-find` command-line option or `CMAKE_FIND_DEBUG_MODE` variable.
* Tests: find_file restore PATH env variable after test runsRobert Maynard2019-07-221-0/+2
|
* Find: Provide global controls for the `NO_[]_PATH` call optionsRobert Maynard2019-06-217-0/+76
|
* RunCMake: Automatically support platform out override filesRobert Maynard2019-06-214-6/+12
|
* Drop find_(library|file|path) prefixes from PATH on non-WindowsBrad King2016-05-091-1/+3
| | | | | | | | | | | Since commit v3.3.0-rc1~430^2 (Teach find_(library|file|path) to get prefixes from PATH, 2015-02-18) we search in <prefix>/include and <prefix>/lib directories for prefixes with bin directories in the PATH environment variable. The motivation was to support MSYS, MinGW and similar Windows platforms in their default environments automatically. At the time this behavior was thought to be worthwhile in general. Suggested-by: Chuck Atkins <chuck.atkins@kitware.com>
* Teach find_(library|file|path) to get prefixes from PATH (#15370)Brad King2015-02-195-0/+18
The find_package command already knows how to compute installation prefixes from PATH. Use the same approach to establish prefixes for find_library, find_file, and find_path to use to look in directories like "<prefix>/lib[/<arch>]" and "<prefix>/include" for libraries and headers. This will reduce the amount of configuration end users need to do to establish a work environment rooted under a specific prefix.