質問編集履歴
2
引用の追加
title
CHANGED
|
File without changes
|
body
CHANGED
|
@@ -4,4 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
かつ自分が進めている[チュートリアル](https://cmake.org/cmake/help/latest/guide/tutorial/index.html#adding-export-configuration-step-11)でもそのような挙動になっているのですが、
|
|
6
6
|
|
|
7
|
-
公式[ドキュメント](https://cmake.org/cmake/help/latest/manual/cmake-generator-expressions.7.html)からはそのような仕様になっているかどうかが読み取れませんでした。
|
|
7
|
+
公式[ドキュメント](https://cmake.org/cmake/help/latest/manual/cmake-generator-expressions.7.html#output-related-expressions)からはそのような仕様になっているかどうかが読み取れませんでした。
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
`$<BUILD_INTERFACE:...>`
|
|
11
|
+
>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.
|
1
リンクの追加と一部markdownのレイアウト修正
title
CHANGED
|
File without changes
|
body
CHANGED
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
cmakeで質問ですが、`generator式$<BUILD_INTERFACE:...>`はビルド時(`cmake --install`ではなく`cmake --build`を指定したとき)のみ...の値になるという仕様なのでしょうか。
|
|
2
2
|
|
|
3
|
-
日本語の情報でそのような記述のものがあり、
|
|
3
|
+
[日本語の情報でそのような記述のもの](https://qiita.com/mrk_21/items/57075ce36f49ce0aacf4#build_interfacecontent)があり、
|
|
4
4
|
|
|
5
|
-
https://
|
|
5
|
+
かつ自分が進めている[チュートリアル](https://cmake.org/cmake/help/latest/guide/tutorial/index.html#adding-export-configuration-step-11)でもそのような挙動になっているのですが、
|
|
6
6
|
|
|
7
|
-
かつ自分が進めているチュートリアルでもそのような挙動になっているのですが、
|
|
8
|
-
|
|
9
|
-
公式ドキュメントからはそのような仕様になっているかどうかが読み取れませんでした。
|
|
10
|
-
|
|
11
|
-
https://cmake.org/cmake/help/latest/manual/cmake-generator-expressions.7.html
|
|
7
|
+
公式[ドキュメント](https://cmake.org/cmake/help/latest/manual/cmake-generator-expressions.7.html)からはそのような仕様になっているかどうかが読み取れませんでした。
|