Alex Turbov
bc8621d999
Fix: A lot of typos in code found by typos
...
Yet another great code spellchecker: https://github.com/crate-ci/typos/
(Will be added later as a `pre-commit` hook)
2025-01-12 18:49:34 +04:00
Alex Turbov
b48d5aeae7
find_*: Improve error message quoting consistency
...
Some error messages (Windows registry related) of the `find_xxx` and
`cmake_host_system_information` commands, reported keywords in quotes,
while most commands did not.
2024-11-27 08:30:15 -05:00
Brad King
58aa659bf8
Tests/RunCMake/cmake_host_system_information: Cover macOS Malloc Debugging env
...
On macOS, `sw_vers` may print to `stderr` based on environment variables
like `MallocGuardEdges=1`. Add a test to verify that we do not capture
that as part of the information it prints to `stdout`.
Issue: #26466
2024-11-23 15:17:36 -05:00
Brad King
03c31b0395
Drop Visual Studio 9 2008 generator
...
This generator has been deprecated since CMake 3.27. Remove it.
2024-05-08 10:37:34 -04:00
Brad King
84a25fc263
cmake_host_system_information: Add MSYSTEM_PREFIX query
...
Add a query on Windows hosts for the installation prefix of a
MSYS or MinGW development environment.
Issue: #24216
2023-09-10 07:33:47 -04:00
Brad King
7e4a9afa1a
cmCMakeHost*Command: Report keyword errors via argument parser results
2022-07-22 10:32:24 -04:00
Marc Chevrier
0c33f12a39
cmake_host_system_information(WINDOWS_REGISTRY) updates
...
* add a cross-reference in 'get_filename_component()' documentation
* rework tests for better 32bit systems support
2022-05-01 12:57:24 +02:00
Marc Chevrier
17ff86547e
cmake_host_system_information: query windows registry
...
Fixes : #21240 , #23367
2022-04-13 08:59:08 -04:00
Brad King
44a86d0b38
cmake_host_system_information: Add undocumented VS_MSBUILD_COMMAND key
...
When using the Visual Studio generator for VS 10 or above,
offer this key to get the location of the MSBuild command
before the first `project()` or `enable_language()` command
has finished running.
This will be needed only by one of our own modules, so leave it
undocumented for now.
2021-10-20 13:00:25 -04:00
Alex Turbov
b9698f89df
cmake_host_system_information: Make it available for all systems
...
Before it was Linux only.
2021-08-20 09:35:12 -04:00
Alex Turbov
6c92f80f2e
cmake_host_system_information: Also set USED_FALLBACK_SCRIPT
...
If the OS identification was obtained via fallback script.
2021-08-20 09:35:12 -04:00
Alex Turbov
efe139d1b8
cmake_host_system_information: Can run fallback scripts
2021-08-20 09:35:12 -04:00
Alex Turbov
1e65e4a6e5
cmake_host_system_information: Can read /etc/os-release file
2021-08-20 09:35:09 -04:00
Alex Turbov
e808cbb1dd
Testing: Convert cmake_host_system_information tests into RunCMake
2021-08-02 23:43:47 +03:00