Lets, say I have a project of about 200 plus C++ files and headers.<br><br>I need to rework just several of the files. However, I know in advance until I rework the several files, including headers, there is no point in doing a time consuming full build. I need to only focus on on the content of the several files being reworked.<br>
<br>In kdevelop 3 there was an build option that allowed you to make just one file of your project at a time; making sure what was contained in that one file was grammatically correct before proceeding on with other files within your project.<br>
<br>These days with kdevelop 4 and cmake, I basically have to comment out all files, but the one I am interested in playing with, in my CMakeLists.txt to avoid time consuming rebuild of my whole project.<br><br>That is why I am asking if there is one button option like in kdevelop 3 to compile one file and not my whole project.<br>
<br> <br><br><div class="gmail_quote">On Wed, Sep 7, 2011 at 8:31 AM, Milian Wolff <span dir="ltr"><<a href="mailto:mail@milianw.de">mail@milianw.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Tuesday 06 September 2011 23:26:20 Michael Hart wrote:<br>
> LOL!<br>
>    I have been using kdevelop4 with cmake for sometime now and not until<br>
> yesterday did I ever have the need to compile just one specific C++ file in<br>
> my entire project of about twenty plus *.cpp files. I would simply press F8<br>
> key and be happy.<br>
><br>
> However, now I would like experiment with the content of just one C++ file;<br>
> compile it but not build the entire project. How do I do this with<br>
> kdevelop4?<br>
<br>
</div>I don't get it, do you want to compile a "hello-world"-style file, i.e. without<br>
any external dependencies and such? Then take a look at the "quick compile"<br>
external script which just calls gcc on the file.<br>
<br>
bye<br>
<font color="#888888">--<br>
Milian Wolff<br>
<a href="mailto:mail@milianw.de">mail@milianw.de</a><br>
<a href="http://milianw.de" target="_blank">http://milianw.de</a></font><br>_______________________________________________<br>
kdevelop mailing list<br>
<a href="mailto:kdevelop@kdevelop.org">kdevelop@kdevelop.org</a><br>
<a href="https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop" target="_blank">https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop</a><br>
<br></blockquote></div><br>