Building a library and executable with 300 C++ files.
Milian Wolff
mail at milianw.de
Mon Nov 29 15:21:35 GMT 2010
Michael Hart, 29.11.2010:
> I know this to be very simple to do with Kdevelop 3.x.y and for that matter
> MV visual studio
>
> Today is my last attempt to use Kdevelop4 and because kdevelop3 is broken
> under all versions of openSuSE 11.x I have to totally abandon the Kdevelop
> environment in favor of something else for the only great think I see about
> Kdevelop 4 thus far is the intellisence of the editor.
>
>
> I have about 300 C++ files in a directory and all I want to compile them
> into a libraries and executable without resorting to some type of manual
> convolution with the build system such as Cmake
>
> Kdevelop 3 and for that matter all the other IDEs I have ever used over
> that past 10 years you simply add the file to a project or even easier a
> directory and you are ready to build.
>
> Kdevelop 4 environment seems to want me to manually manipulate
> CMakeList.txt file.
>
> Is there an automated way to make these CMakeLIst.txt files?
Hey Micheal.
No, there is no such thing. And you probably didn#t create these 300 files
without running make, once, did you? Isn't that an existing project which
comes with makesfiles, e.g. from autotools back then? Why do you want to
convert it to CMake if you don't like it? You can run make with KDevelop 4.
And as I told you already on my blog [1], KDevelop 4 has no support for
autotools (yet?), and we do want to add more wizards in the future.
While I'm of course sad to see any user abandon KDevelop, and see your
reasons, I still have to say: Generators are always limited, and CMake is just
another language, more or less. Learn it and love it, or stick to old tools
that come with autotools support. Or stay tuned until we come to a point where
we also have more wizards for CMake. Just don't expect that it will all be
hidden and being done magically in the background, that simply does not work.
Bye
[1]: for those who missed that: http://milianw.de/blog/google-code-in-first-
kdevelop-documentation-screencast#comment-1092
--
Milian Wolff
mail at milianw.de
http://milianw.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop/attachments/20101129/3cd2bebc/attachment.sig>
More information about the KDevelop
mailing list