From 1b0c020d818e90cad5325af15acffb754dcf041b Mon Sep 17 00:00:00 2001 From: Johannes Stoelp Date: Sat, 4 Nov 2023 21:45:00 +0100 Subject: cmake: update PUBLIC description --- src/development/cmake.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/development') diff --git a/src/development/cmake.md b/src/development/cmake.md index d0bbeea..acf2d6b 100644 --- a/src/development/cmake.md +++ b/src/development/cmake.md @@ -5,8 +5,9 @@ These modifier control where properties for a given target are visible. - `PRIVATE`: Only for the target itself. -- `PUBLIC`: For the target itself and anyone linking against it. - `INTERFACE`: Only for anyone linking against the target. +- `PUBLIC`: For the target itself and anyone linking against it (effectively + `PRIVATE` + `INTERFACE`). The following gives an example for preprocessor definitions specified on a library target. This behaves in the same way for other properties like for -- cgit v1.2.3