Files
CMake/Help/release/dev/BSD.rst
Cristian Adam 1ea8b8ed86 BSD: Set CMAKE_HOST_BSD variable on a BSD host
Also the BSD variable will be set in CMake scripting mode (-P).

Relates: #23853
2022-09-06 01:15:44 +02:00

9 lines
375 B
ReStructuredText

Variables
---------
* The :variable:`BSD` variable is set to a string value when the target system is BSD.
This value can be one of the following: DragonFlyBSD, FreeBSD, OpenBSD, or NetBSD.
* The :variable:`CMAKE_HOST_BSD` variable is set to a string value when the host system is BSD.
This value can be one of the following: DragonFlyBSD, FreeBSD, OpenBSD, or NetBSD.