From efb43c6bed94dd41310f655f2a063f660aa5a1d7 Mon Sep 17 00:00:00 2001 From: retif Date: Thu, 20 Jul 2023 14:12:04 +0200 Subject: [PATCH] README: About THINGY_LINKING cache variable --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 3a51b25..9231961 100755 --- a/README.md +++ b/README.md @@ -4,6 +4,8 @@ An example of particular effects from `PRIVATE`/`INTERFACE`/`PUBLIC` scope in CM More details in the [following article](https://decovar.dev/blog/2023/07/15/cmake-target-link-libraries-scope/). +Unlike the code fragments in the article, the `prjct` here handles linking scope via `THINGY_LINKING` cache variable, for example `-DTHINGY_LINKING="INTERFACE"`. Based on that, certain target properties are set and carried over, changing certain compile definitions, making the compilation to account for the current linking scope "automatically" (*so you don't need to modify the sources yourself*). + ## Building It is 3 projects that are built individually and in particular order: