aboutsummaryrefslogtreecommitdiffhomepage
path: root/development/cmake.html
diff options
context:
space:
mode:
authorjohannst <johannst@users.noreply.github.com>2023-11-04 20:45:17 +0000
committerjohannst <johannst@users.noreply.github.com>2023-11-04 20:45:17 +0000
commit0ad64a99e154cf7d0dd101030f724d3657c406df (patch)
treeed5ae1a0b0991c4213989fbb09868dd5bbeae3e8 /development/cmake.html
parent15a622d90b60b07b18f77d11c8bceed1442ef7ea (diff)
downloadnotes-0ad64a99e154cf7d0dd101030f724d3657c406df.tar.gz
notes-0ad64a99e154cf7d0dd101030f724d3657c406df.zip
deploy: 1b0c020d818e90cad5325af15acffb754dcf041b
Diffstat (limited to 'development/cmake.html')
-rw-r--r--development/cmake.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/cmake.html b/development/cmake.html
index 40ee607..cfbde63 100644
--- a/development/cmake.html
+++ b/development/cmake.html
@@ -179,8 +179,9 @@
<p>These modifier control where properties for a given target are visible.</p>
<ul>
<li><code>PRIVATE</code>: Only for the target itself.</li>
-<li><code>PUBLIC</code>: For the target itself and anyone linking against it.</li>
<li><code>INTERFACE</code>: Only for anyone linking against the target.</li>
+<li><code>PUBLIC</code>: For the target itself and anyone linking against it (effectively
+<code>PRIVATE</code> + <code>INTERFACE</code>).</li>
</ul>
<p>The following gives an example for preprocessor definitions specified on a
library target. This behaves in the same way for other properties like for