[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-devel
Subject:    Re: Building a library and executable with 300 C++ files.
From:       Aleix Pol <aleixpol () kde ! org>
Date:       2010-11-29 18:49:24
Message-ID: AANLkTi=3tkXK_8K13GhzDNJusW+1_CV_Q5G2c8TUZBYp () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On Mon, Nov 29, 2010 at 7:28 PM, Andreas Pakulat <apaku@gmx.de> wrote:

> On 29.11.10 19:00:13, Syron wrote:
> > 2010/11/29 Michael Hart <michael.george.hart@gmail.com>:
> > > Being a very senior and experienced C++ developer for the most part all
> I
> > > ever cared about was the C++ language and the various APIs I used in
> getting
> > > an application to market. So what may seem appalling to you, I can only
> make
> > > the assumption I was using automake as my build tool.
> >
> > I think it's strange that you're a senior developer and have never
> > dealt with any build system - understanding how build systems work is
> > an important thing, that's what I learned as soon as I wrote my first
> > project with more than one file. And I am also worried about the fact
> > that you have 300 C++ files in _one_ directory, that seems like a big
> > mess.
> > If you spend some time learning a build system (qMake, CMake,
> > whatever), you will soon learn how powerful they are.
>
> Well, if you're always only targetting Windows you can easily get around
> without knowing any buildsystem if you stick to VS for building your
> app. Though at some point for larger or legacy projects you will get to
> dive into the various options that VS offers for customization. At least
> I think you can. But then again, VS uses a much more constrained
> buildsystem and is not as capable as CMake (leaving aside the
> missing cross-platform support).
>
> Or you have someone in the team that cares about the buildsystem-stuff
> and all the C++ developers ever have to care about is adding the files
> at the right place. Thats how it works with KDevelop for example, there
> are one or two persons with in-depth cmake knowledge that handle all the
> harder stuff. The rest of the team mostly just add the files in the
> right cmake-files.
>
> That being said, IMHO it KDevelop should be able to handle
> adding/deleting files via its existing cmake-change-wizard. All thats
> really needed is a hook when files are being added to the project. I
> actually thought this was already done for 4.1, but maybe it gets in for
> 4.2??
>
> Andreas
>
> --
> You don't become a failure until you're satisfied with being one.
>
> --
> KDevelop-devel mailing list
> KDevelop-devel@kdevelop.org
> https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
>

We can do most of that already, we're just missing the
add_library/executable wizard. That should be fairly easy to add, though.

Aleix

[Attachment #5 (text/html)]

<div class="gmail_quote">On Mon, Nov 29, 2010 at 7:28 PM, Andreas Pakulat <span \
dir="ltr">&lt;<a href="mailto:apaku@gmx.de">apaku@gmx.de</a>&gt;</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 29.11.10 19:00:13, Syron wrote:<br>
&gt; 2010/11/29 Michael Hart &lt;<a \
href="mailto:michael.george.hart@gmail.com">michael.george.hart@gmail.com</a>&gt;:<br>
 &gt; &gt; Being a very senior and experienced C++ developer for the most part all \
I<br> &gt; &gt; ever cared about was the C++ language and the various APIs I used in \
getting<br> &gt; &gt; an application to market. So what may seem appalling to you, I \
can only make<br> &gt; &gt; the assumption I was using automake as my build tool.<br>
&gt;<br>
&gt; I think it&#39;s strange that you&#39;re a senior developer and have never<br>
&gt; dealt with any build system - understanding how build systems work is<br>
&gt; an important thing, that&#39;s what I learned as soon as I wrote my first<br>
&gt; project with more than one file. And I am also worried about the fact<br>
&gt; that you have 300 C++ files in _one_ directory, that seems like a big<br>
&gt; mess.<br>
&gt; If you spend some time learning a build system (qMake, CMake,<br>
&gt; whatever), you will soon learn how powerful they are.<br>
<br>
</div>Well, if you&#39;re always only targetting Windows you can easily get \
around<br> without knowing any buildsystem if you stick to VS for building your<br>
app. Though at some point for larger or legacy projects you will get to<br>
dive into the various options that VS offers for customization. At least<br>
I think you can. But then again, VS uses a much more constrained<br>
buildsystem and is not as capable as CMake (leaving aside the<br>
missing cross-platform support).<br>
<br>
Or you have someone in the team that cares about the buildsystem-stuff<br>
and all the C++ developers ever have to care about is adding the files<br>
at the right place. Thats how it works with KDevelop for example, there<br>
are one or two persons with in-depth cmake knowledge that handle all the<br>
harder stuff. The rest of the team mostly just add the files in the<br>
right cmake-files.<br>
<br>
That being said, IMHO it KDevelop should be able to handle<br>
adding/deleting files via its existing cmake-change-wizard. All thats<br>
really needed is a hook when files are being added to the project. I<br>
actually thought this was already done for 4.1, but maybe it gets in for<br>
4.2??<br>
<br>
Andreas<br>
<font color="#888888"><br>
--<br>
You don&#39;t become a failure until you&#39;re satisfied with being one.<br>
</font><div><div></div><div class="h5"><br>
--<br>
KDevelop-devel mailing list<br>
<a href="mailto:KDevelop-devel@kdevelop.org">KDevelop-devel@kdevelop.org</a><br>
<a href="https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel" \
target="_blank">https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel</a><br>
 </div></div></blockquote></div><br><div>We can do most of that already, we&#39;re \
just missing the add_library/executable wizard. That should be fairly easy to add, \
though.</div><div><br></div><div>Aleix</div>



-- 
KDevelop-devel mailing list
KDevelop-devel@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic