mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
BSD: Only use BSD as variable for target BSD system
Instead of having multiple boolean variables, we only have one string variable: BSD with the name of the target BSD system. Relates: #23853
This commit is contained in:
5
Help/release/dev/BSD.rst
Normal file
5
Help/release/dev/BSD.rst
Normal file
@@ -0,0 +1,5 @@
|
||||
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.
|
||||
@@ -1,9 +0,0 @@
|
||||
bsd-variables
|
||||
-------------
|
||||
|
||||
* The :variable:`BSD` variable is set to true when the target system
|
||||
is BSD (DragonFlyBSD, FreeBSD, OpenBSD, or NetBSD)
|
||||
* The :variable:`DRAGONFLYBSD` variable is set to true when the target system is DragonFlyBSD.
|
||||
* The :variable:`FREEBSD` variable is set to true when the target system is FreeBSD.
|
||||
* The :variable:`NETBSD` variable is set to true when the target system is NetBSD.
|
||||
* The :variable:`OPENBSD` variable is set to true when the target system is OpenBSD.
|
||||
Reference in New Issue
Block a user