cmakeで質問ですが、generator式$<BUILD_INTERFACE:...>
はビルド時(cmake --install
ではなくcmake --build
を指定したとき)のみ...の値になるという仕様なのでしょうか。
かつ自分が進めているチュートリアルでもそのような挙動になっているのですが、
公式ドキュメントからはそのような仕様になっているかどうかが読み取れませんでした。
$<BUILD_INTERFACE:...>
Content of ... when the property is exported using export(), or when the target is used by another target in the same buildsystem. Expands to the empty string otherwise.
あなたの回答
tips
プレビュー