Compile current file only (cmake project)

patrick carosso carossopatrick at
Wed Nov 7 09:59:31 GMT 2012

That seems too complicated, just to compile a file. I will try to modify the source and add a new action in the cmake menu, which will create a new selection on the fly with the current source file, and build it.

 Da: Andreas Pakulat <apaku at>
A: kdevelop at; patrick carosso <carossopatrick at> 
Inviato: Mercoledì 7 Novembre 2012 10:24
Oggetto: Re: Compile current file only (cmake project)

On Wed, Nov 7, 2012 at 9:31 AM, patrick carosso <carossopatrick at> wrote:
> Well, "build selection" build all project. So, how can I select a single
> file?
> Patrick

this can be done by making sure that only that single file is in the
"selection". The selection what to build is shown in the lower list of
the projects view. Newly opened projects are added there, but you can
remove items from the list or add items from the project tree by
selecting them and then hit the "plus" button in the lower part.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the KDevelop mailing list