<table><tr><td style="">rjvbb updated this revision to Diff 46601.<br />rjvbb 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/D17255">View Revision</a></tr></table><br /><div><div><p>The python script changes were committed to the master branch as requested (<a href="https://phabricator.kde.org/R32:db05710cb6931a7b44d7fc70bfcfe75c7ccc9f4a" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;">db05710cb6931a7b44d7fc70bfcfe75c7ccc9f4a</a>).</p>

<p>I've removed the change to the cmake executable lookup; I'll keep it as a distribution patch.</p>

<p>I've tested the idea of NOT specifying an install prefix default when none has been configured. To the best I can see this does not lead to invalid cmake invocations (aka <tt style="background: #ebebeb; font-size: 13px;">-DCMAKE_INSTALL_PREFIX=</tt>). Instead, this does exactly what you'd expect: cmake will use whatever is its default for the current platform. The result will be obtained from the <tt style="background: #ebebeb; font-size: 13px;">CMakeCache</tt> later on.<br />
In other words, there doesn't appear to be any reason to hardcode assumptions about CMake's defaults, and not doing that should be a suitable compromise for everyone. It also removes the need for conditional code.</p></div></div><br /><div><strong>CHANGES SINCE LAST UPDATE</strong><div><a href="https://phabricator.kde.org/D17255?vs=46546&id=46601">https://phabricator.kde.org/D17255?vs=46546&id=46601</a></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D17255">https://phabricator.kde.org/D17255</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>config-kdevelop.h.cmake<br />
plugins/cmake/cmakeutils.cpp<br />
plugins/cmake/cmakeutils.h<br />
plugins/manpage/manpageplugin.cpp</div></div></div><br /><div><strong>To: </strong>rjvbb, KDevelop, kfunk<br /><strong>Cc: </strong>flherne, kfunk, kdevelop-devel, glebaccon, hase, antismap, iodelay, vbspam, geetamc, Pilzschaf, akshaydeo, surgenight, arrowd<br /></div>