summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorTarget.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2024-04-11 17:49:12 (GMT)
committerBrad King <brad.king@kitware.com>2024-04-12 15:50:55 (GMT)
commit91a25de5206b53a4a1fd61d8d2bf13a76fce7ad0 (patch)
tree39e4f42d4eb03782f87ee0049235c6c176cb8167 /Source/cmGeneratorTarget.cxx
parent0a61116f527d78bc21a1a111f03e2c801386e5ba (diff)
downloadCMake-91a25de5206b53a4a1fd61d8d2bf13a76fce7ad0.zip
CMake-91a25de5206b53a4a1fd61d8d2bf13a76fce7ad0.tar.gz
CMake-91a25de5206b53a4a1fd61d8d2bf13a76fce7ad0.tar.bz2
cmGeneratorExpression: Add comments on implementation details
Clarify the purpose of some genex code that collects properties over the transitive link closure.
Diffstat (limited to 'Source/cmGeneratorTarget.cxx')
-rw-r--r--Source/cmGeneratorTarget.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx
index 2ec1a29..b32d0b8 100644
--- a/Source/cmGeneratorTarget.cxx
+++ b/Source/cmGeneratorTarget.cxx
@@ -6375,6 +6375,7 @@ PropertyType checkInterfacePropertyCompatibility(cmGeneratorTarget const* tgt,
std::string interfaceProperty = "INTERFACE_" + p;
std::unique_ptr<cmGeneratorExpressionInterpreter> genexInterpreter;
if (p == "POSITION_INDEPENDENT_CODE") {
+ // Corresponds to EvaluatingPICExpression.
genexInterpreter = cm::make_unique<cmGeneratorExpressionInterpreter>(
tgt->GetLocalGenerator(), config, tgt);
}