CMake build system for ScummVM

General chat related to ScummVM, adventure gaming, and so on.

Moderator: ScummVM Team

Post Reply
miguelbernadi
Posts: 2
Joined: Thu Apr 21, 2011 6:45 pm
Location: Barcelona, Spain

CMake build system for ScummVM

Post by miguelbernadi »

Hello. I've been using ScummVM to play to some of my favorite games for a while and I wanted to contribute something back, so I looked at your TODO list and found this request.

I've forked the scummvm on github ( https://github.com/miguelbernadi/scummvm/tree/CMake ) and started to provide CMake support for building ScummVM on Linux.

I think that it could be nice to start a thread to tell you about my progress and to ask for advice and needs.

Things I need to know:

- Need to know all dependencies, I have several listed but I would need a complete list (I couldn't find one)
- Which dependencies are a MUST have and which are optional.
- How is set the ports build system.
- How many and which config options are desirable.
- Which tools are needed and in which categories set them.
- The header templates (which macros to be set: names and values or where to find them).

Most of them I think I can manage to find out by myself, but having documentation would be great.

Fork status:

- Main CMake infrastructure (folders and submodules).
- Basic Engine build selection list.
- List of Officialy provided and to implement Find modules ( https://github.com/miguelbernadi/scummv ... ke/Modules) with example of how should a Find module be written.

I've been thinking about supporting the devtools/ first and then start adding Engine support to the main executable.

I'm able to test it on Debian GNU/Linux but I'll need some Windows and Mac testers (and later the ports) if the team likes the results.

The layout and some code is originally from OGRE's (www.ogre3d.org) build system which is public domain.
billwashere
Posts: 63
Joined: Sat Feb 14, 2009 8:43 am
Location: Australia

Post by billwashere »

Most of the stuff should be here -
http://wiki.scummvm.org/index.php/Compiling_ScummVM
User avatar
tsoliman
ScummVM Developer
Posts: 404
Joined: Wed Jan 19, 2011 3:47 pm
Location: USA

Post by tsoliman »

Also, take a look at the configure script.
There's a lot there.
User avatar
Julien
ScummVM Developer
Posts: 25
Joined: Wed Jul 11, 2007 2:45 am
Location: Boston, USA

Post by Julien »

You should really post your message on the dev list. Not every team member reads the forums, and like you said you'll need feedback from the other porters at some point.
miguelbernadi
Posts: 2
Joined: Thu Apr 21, 2011 6:45 pm
Location: Barcelona, Spain

Post by miguelbernadi »

Thank you all.

@Julien Thank you for pointing me to the dev list, I wasn't sure about where to post. I'll maintain this thread updated about my progress but I'll start a thread there too.

Any help is welcome too.
Post Reply