"Build" command in a project's subdirectory (CMake project)
Matthew Woehlke
mwoehlke.floss at gmail.com
Fri Jul 15 15:01:18 BST 2016
On 2016-05-13 10:39, René J.V. Bertin wrote:
> On Friday May 13 2016 17:13:08 Yavuz Mert wrote:
>> 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.
>
> Do you have things configured to use CMake's Ninja generator instead of the "Unix Makefiles" generator?
> That one indeed behaves like that; it can hardly do any different since you only get a .ninja file in the top level directory.
Note that sufficiently new CMake will generate 'directory targets' for
ninja. It would be great if KDevelop could integrate with these when
they are available.
--
Matthew
More information about the KDevelop
mailing list