Opened 12 years ago

Last modified 16 months ago

#1104 new enhancement

Add CMake as a build system

Reported by: Juicyfruit Owned by:
Priority: If Time Permits Milestone: Backlog
Component: Build & Packages Keywords:
Cc: Patch:

Description (last modified by Vladislav Belov)

Welcome to CMake, the cross-platform, open-source build system. CMake is a family of tools designed to build, test and package software. CMake is used to control the software compilation process using simple platform and compiler independent configuration files. CMake generates native makefiles and workspaces that can be used in the compiler environment of your choice. bla bla but it does do XCode4 and it was on my to learn list.

Attachments (2)

patch (38.9 KB ) - added by Juicyfruit 12 years ago.
cmake.patch (68.0 KB ) - added by historic_bruno 11 years ago.
Old WIP patch from Philip

Download all attachments as: .zip

Change History (12)

by Juicyfruit, 12 years ago

Attachment: patch added

comment:1 by Juicyfruit, 12 years ago

You need to have working libraries (nvtt and spidermonkey need to be compiled)

It does NOT do mocks_test, tests it build a working atlas

It DOES build a pyrogenesis executable that works for me on 2 systems (OSX 10.7 x64 (makefiles and Xcode4) AND linux x86_64 (gnu makefiles) )

It is very much a work i progress.

in reply to:  1 comment:2 by Juicyfruit, 12 years ago

I put my cmake stuff in a repo. to help me structure my work.

Gitorious project

and

git repo: https://git.gitorious.org/cmake-for-0ad/cmake-for-0ad.git

comment:3 by Yves, 12 years ago

Cc: Yves added

Adding me to the Cc-list... :) I'm interested in CMake and in how far you have come integrating it into our build-environment. I'm going to have a closer look as soon as I have enough time.

comment:4 by Kieran P, 12 years ago

Milestone: Alpha 9Backlog

comment:5 by historic_bruno, 11 years ago

Keywords: buildsystem cmake optional removed

Attaching old patch from Philip, see http://irclogs.wildfiregames.com/2013-01-03-QuakeNet-%230ad-dev.log @ 18:58

by historic_bruno, 11 years ago

Attachment: cmake.patch added

Old WIP patch from Philip

comment:6 by echotangoecho, 7 years ago

Description: modified (diff)

Started from scratch on trying to add some cmake support, progress can be followed here. I will probably continue with this until building everything with GCC (Clang ?) works on my system, as I don't have/use a Windows or OS X system.

comment:7 by echotangoecho, 7 years ago

Component: Core engineBuild & Packages

comment:8 by echotangoecho, 7 years ago

Owner: set to echotangoecho
Status: newassigned

comment:9 by Vladislav Belov, 2 years ago

Description: modified (diff)
Summary: CMAKEAdd CMake as a build system

comment:10 by Stan, 16 months ago

Cc: Yves removed
Owner: echotangoecho removed
Status: assignednew
Note: See TracTickets for help on using tickets.