"Build" command in a project's subdirectory (CMake project)

Aleix Pol aleixpol at kde.org
Sun May 15 09:46:14 BST 2016


On Fri, May 13, 2016 at 3:54 PM, René J.V. <rjvbertin at gmail.com> wrote:
> Hi,
>
> With KDevelop 4.7, one could select a project's subdirectory containing a Makefile (as shown by the folder icon), issue a "Build" via the keyboard shortcut or context menu, and KDevelop would issue a make command in the selected directory.
>
> That seems no longer the case with KDevelop 5, and I find that a pity. Was this by popular request? It would seem to me that the "Build Selection" menu should still build only what's selected (if that selection corresponds to a build unit), and that it would be perfectly possible to add dedicated commands for "build whole project".

There's still the possibility to build a target.

> I know one can select and build one of the build targets, but that's become less useful for big projects you don't know intimately. KDevelop 4.7 could expand those targets to show which files it depended on (so you could see which target to build after modifying a given file), but that feature has gone with the dodo too.

Yes, we dropped the CMake parser, that's what we get.

Aleix



More information about the KDevelop mailing list