diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/development/cmake.md | 3 |
1 files changed, 2 insertions, 1 deletions
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 |