<table><tr><td style="">meven added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D22143">View Revision</a></tr></table><br /><div><div><blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);">Relying on undocumented names of generated sources files does not get my +1. That needs someone else to take responsibility :)</pre></div></blockquote>
<p>Well this kind of file generation is common and is indirectly documented through the ecm_qt_declare_logging_category macro.</p>
<p>I don't think this is an important issue.</p>
<p>For what it is worth, the same technique is used in other repos :</p>
<p>kdebugsettings/autotests/CMakeLists.txt<br />
22: ${CMAKE_BINARY_DIR}/src/kdebugsettings_debug.cpp</p>
<p>plasma-thunderbolt/autotests/kded/CMakeLists.txt<br />
5: ${CMAKE_BINARY_DIR}/src/kded<br />
11: ${CMAKE_BINARY_DIR}/src/kded/kded_bolt_debug.cpp</p>
<p>pulseaudio-qt/autotests/CMakeLists.txt<br />
8: ${CMAKE_BINARY_DIR}/src/debug.cpp</p>
<p>This does not justify it but makes the points that other KDE devs did not see an issue with it.</p>
<p>I would gladly use an alternative if presented with one.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R159 KActivities Statistics</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D22143">https://phabricator.kde.org/D22143</a></div></div><br /><div><strong>To: </strong>meven, ivan, Frameworks, kossebau<br /><strong>Cc: </strong>kossebau, kde-frameworks-devel, LeGast00n, sbergeron, michaelh, ngraham, bruns<br /></div>