Hi Claudio,

It's great to see your enthusiasm about Mixxx. Working on rewriting  
the build system for cmake sounds like a great way to learn about  
Mixxx's codebase and polish your cmake skills.

Before beginning to work on a big sweeping change like this, our  
developers generally like to discuss the changes publicly on mixxx- 
devel before committing large amounts of time to them, as I'm sure is  
the case with other open source projects as well. We do this to help  
ensure that the projects undertaken by contributors are aligned with  
our current development goals.

Currently, there were no plans to migrate our build system away from  
SCons to something else. Our SCons build system was written last  
summer (2007), when we ported from Qt 3 to Qt 4. I don't think we've  
seen any major complaints about SCons coming from our developers, and  
if we were to move to another build system, we'd need some very good  
reasons.

That being said, I'd be more than happy to discuss SCONS and cmake  
with you. What are the goals you intend to achieve by moving the build  
system to cmake?

Thanks,
Albert


On 29-Nov-08, at 12:18 PM, Claudio Bantaloukas wrote:

> I spent a couple of days rewriting the build system to use cmake. I
> have used scons in the past and while I can certainly appreciate the
> value of having a turing-complete build system, I find it too much for
> the needs of most projects.
> cmake sports several features:
> - out of tree builds
> - integrated support for all platforms where Qt runs
> - great library finding modules
> - cpack for creating installers
> - qt support
>
> I tried hard to keep all features that were present in the Scons build
> system. This means I ported over most compile switches (including
> optimisation phases), platform checks, file lists et similia.
>
> Currently missing are a make uninstall target (It can be enabled but
> it needs testing), complete and tested mac support (but I've got a mac
> to develop this on, and will probably have something working later), a
> variable reporting mechanism (Rosengarden has a great report script
> that I'll soon bring over) and complete testing of all configuration
> options.
>
> This version currently requires cmake 2.6 (it might work with earlier
> versions but I don't have access to those)
> I have tested this patch under:
> - windows (using Visual studio express 2008, trunk )
> - Ubuntu 8.10
>
> Steps for windows build:
> - Install Visual Studio express 2008
> - Install cmake 2.6.x from cmake.org
> - Check out mixxx and mixxx-winlib
> - apply the atl patch I sent a couple of hours before
> - apply cmake patches
> - run cmake
>   - set the mixxx src directory
>   - set a build directory != src directory
>   - press configure, select Visual Studio 9
>   - check if you like the WITH_* defaults, press configure, press OK
> - Go to the build directory and open mixxx.sln
> - build the mixxx solution
> - build the install target (it will write everything in Program
> Files\Mixxx, so make sure you've backed up your previous installation)
> Done
>
> To debug under windows, right-click on the mixxx project, set it as
> the start up projectthen right click, click on  Properties-> Debugging
> - >set "Working Directory" to Program Files\mixxx
>
> steps for linux build:
> - make sure you have all prerequisites (plus cmake, except
> libdjconsole, no longer supported)
> - svn co $REPO mixxx
> - apply cmake patches
> - mkdir build
> - cd build
> - cmake ../mixxx
> - make
> - make install
>
> If you dislike verbose makefiles, edit the top of mixxx\CMakeLists.txt
>
> If you like this, I am willing to work on making this build system
> better and to integrate it wherever necessary.
>
> -- 
> Claudio Bantaloukas http://www.rdfm.org/ammuzzu/
> <introducing-cmake.patch><cmake-dont-use-generated- 
> includes 
> .patch 
> > 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's  
> challenge
> Build the coolest Linux based applications with Moblin SDK & win  
> great prizes
> Grand prize is a trip for two to an Open Source event anywhere in  
> the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________
> Mixxx-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mixxx-devel


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Mixxx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mixxx-devel

Reply via email to