cmake buildsystem

Programmers discuss here anything related to FreeOrion programming. Primarily for the developers to discuss.

Moderator: Committer

Post Reply
Message
Author
rabatz2
Space Krill
Posts: 2
Joined: Sun Jun 29, 2008 10:17 pm

cmake buildsystem

#1 Post by rabatz2 »

hi,
i thought about if it would be nice to have a cmake buildsystem for freeorion instead of scons. if you like it, i would invest some time to get it work. what do you think?

cmake runs on all of the 3 great platforms,
if there is no need for scons, there is no need for python right? would take down the dependencies a bit.
it would be needed to make gigi also work with cmake, otherwise its senseless.

bye harald

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 13587
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: cmake buildsystem

#2 Post by Geoff the Medio »

Python is used by AI scripts, not just SCons.

tzlaine
Programming Lead Emeritus
Posts: 1092
Joined: Thu Jun 26, 2003 1:33 pm

Re: cmake buildsystem

#3 Post by tzlaine »

I'm not interested. I can easily make the changes I need to the SCons build. I couldn't do that if we switched to CMake tomorrow. I don't want to burn more cycles learning another build tool (even if it's better!).

rabatz2
Space Krill
Posts: 2
Joined: Sun Jun 29, 2008 10:17 pm

Re: cmake buildsystem

#4 Post by rabatz2 »

yes no problem, i can understand that, i neither think you would gain much.

User avatar
kroddn
Static Linker
Posts: 347
Joined: Thu Jun 28, 2007 10:28 am

Re: cmake buildsystem

#5 Post by kroddn »

What advantages over scons should cmake bring? I never used cmake and don't know its functions, and I agree to tzlaines oppinion that we should not learn another build-system.

User avatar
loonycyborg
Compilation Expert
Posts: 219
Joined: Thu Jul 06, 2006 10:30 pm
Location: Russia/Moscow

Re: cmake buildsystem

#6 Post by loonycyborg »

IMO cmake has two fundamental disadvantages:
- It's based on yet another scripting language(which is not nearly as powerful as python) for no good reason
- It still uses obsolete make utility(or some ad-hoc build system in an IDE), and therefore doesn't have such neat things like detection of file changes based on md5 sums
In Soviet Russia, forum posts YOU!!

Post Reply