Simpler Build System

Discussion area about developing with Ogre-Next (2.1, 2.2 and beyond)


User avatar
Klaim
Old One
Posts: 2565
Joined: Sun Sep 11, 2005 1:04 am
Location: Paris, France
x 56

Re: Simpler Build System

Post by Klaim »

Also SCONS is a build system, not a meta-build-system, which basically means that if you use an editor (Visual Studio, QtCreator, VIM, CodeBlocks, etc.) and it don't automatically works with SCONS then it becomes hard to work with it.

CMake, even if I find the documenation hard to use even if it's complete, generate directly to the user's editor files (or not).
Basically, SCONS is a good alternative inside a company that use editors that can work with it. CMake is better for open sourced code because it lets people use the tool they know, which helps people using different platforms working on the same code.
themean
Greenskin
Posts: 104
Joined: Wed Feb 29, 2012 11:50 am
x 1

Re: Simpler Build System

Post by themean »

@PhilipLB
It is the same like to install cmake.
@Klaim
Very good arguments but i post my suggestions because I think that scons have possibility to create projects for different IDE like cmake(for visual studio 100% sure).Also qt creator,eclipse and kdevelop have plugin for scons.
PhilipLB
Google Summer of Code Student
Google Summer of Code Student
Posts: 550
Joined: Thu Jun 04, 2009 5:07 pm
Location: Berlin
x 108

Re: Simpler Build System

Post by PhilipLB »

With CMake, you have to install CMake, yes. With Scons, as far as I see, you have to install Scons and Pyhton, one more. :)
Google Summer of Code 2012 Student
Topic: "Volume Rendering with LOD aimed at terrain"
Project links: Project thread, WIKI page, Code fork for the project
Mentor: Mattan Furst


Volume GFX, accepting donations.
themean
Greenskin
Posts: 104
Joined: Wed Feb 29, 2012 11:50 am
x 1

Re: Simpler Build System

Post by themean »

yes :oops: , but actually scons is python module and you can think you are installed only python :).
Also with python you get the power to write multi-platform scripts instead of bash or batch files.
User avatar
Klaim
Old One
Posts: 2565
Joined: Sun Sep 11, 2005 1:04 am
Location: Paris, France
x 56

Re: Simpler Build System

Post by Klaim »

themean wrote: @Klaim
Very good arguments but i post my suggestions because I think that scons have possibility to create projects for different IDE like cmake(for visual studio 100% sure).Also qt creator,eclipse and kdevelop have plugin for scons.
The problem is that scons isn't designed to work with these IDEs and it makes the generation not always good or up to date.
Anyway the worst thing about scons, last time I checked, is it's awful generation time which is the worst of all build systems around by several magnitudes of difference.

The last thing to note is that it's quite a big change to change a build system. It would require re-writting everything Ogre have as build system scripts, which is massive.
Along with the minor potential benefit it would provide, I don't see the point in your suggestion.
I mean: let's say Scons is similar to CMake. What would be the benefit for Ogre? It wouldn't solve the problems pointed around here that is basically that the build scripts need (massive) refactoring.
User avatar
syedhs
Silver Sponsor
Silver Sponsor
Posts: 2703
Joined: Mon Aug 29, 2005 3:24 pm
Location: Kuala Lumpur, Malaysia
x 51

Re: Simpler Build System

Post by syedhs »

Patch is highly welcome :mrgreen: I mean scon scripts..
A willow deeply scarred, somebody's broken heart
And a washed-out dream
They follow the pattern of the wind, ya' see
Cause they got no place to be
That's why I'm starting with me