<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>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.</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span>Patrick<br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span><br></span></div><div><br></div>  <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1"> 
 <b><span style="font-weight:bold;">Da:</span></b> Andreas Pakulat <apaku@gmx.de><br> <b><span style="font-weight: bold;">A:</span></b> kdevelop@kdevelop.org; patrick carosso <carossopatrick@yahoo.it> <br> <b><span style="font-weight: bold;">Inviato:</span></b> Mercoledì 7 Novembre 2012 10:24<br> <b><span style="font-weight: bold;">Oggetto:</span></b> Re: Compile current file only (cmake project)<br> </font> </div> <br>Hi,<br><br>On Wed, Nov 7, 2012 at 9:31 AM, patrick carosso <<a ymailto="mailto:carossopatrick@yahoo.it" href="mailto:carossopatrick@yahoo.it">carossopatrick@yahoo.it</a>> wrote:<br>> Well, "build selection" build all project. So, how can I select a single<br>> file?<br>> Patrick<br><br>this can be done by making sure that only that single file is in the<br>"selection". The selection what to build is shown in the lower list of<br>the projects view. Newly opened projects are added there, but you can<br>remove
 items from the list or add items from the project tree by<br>selecting them and then hit the "plus" button in the lower part.<br><br>Andreas<br><br><br> </div> </div>  </div></body></html>