aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/development
diff options
context:
space:
mode:
authorJohannes Stoelp <johannes.stoelp@gmail.com>2023-11-04 21:45:00 +0100
committerJohannes Stoelp <johannes.stoelp@gmail.com>2023-11-04 21:45:00 +0100
commit1b0c020d818e90cad5325af15acffb754dcf041b (patch)
tree96efe7195308fff358227873dc82907738729532 /src/development
parentf2b0515fdd1cb84bebe24cac59498b682b49de80 (diff)
downloadnotes-1b0c020d818e90cad5325af15acffb754dcf041b.tar.gz
notes-1b0c020d818e90cad5325af15acffb754dcf041b.zip
cmake: update PUBLIC description
Diffstat (limited to 'src/development')
-rw-r--r--src/development/cmake.md3
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