"Build" command in a project's subdirectory (CMake project)
Yavuz Mert
yavuzmertt at gmail.com
Fri May 13 15:13:08 BST 2016
Hi,
On projects toolview of 5.X, there is new a tool button -the second one from
left- with the hint "Show Targets"
If that is selected I can right click the target and build the individual
target, but not the directory.
I checked with Kdevelop 4.7 and it also acts the same way, you can build
individual cmake targets, but not the subdirectory. The only difference I can
see is on 4.7 the targets are always shown, there is no checkbutton. So,
AFAICS the functionality is same.
yavuz
On Friday 13 May 2016 15:54:33 René J.V. Bertin 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".
>
> 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.
>
> Thoughts?
> R.
> _______________________________________________
> KDevelop mailing list
> KDevelop at kde.org
> https://mail.kde.org/mailman/listinfo/kdevelop
More information about the KDevelop
mailing list