Opened 11 years ago

Last modified 8 months ago

#1104 assigned enhancement

Add CMake as a build system

Reported by: Juicyfruit Owned by: echotangoecho
Priority: If Time Permits Milestone: Backlog
Component: Build & Packages Keywords:
Cc: Yves 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 11 years ago.
cmake.patch (68.0 KB ) - added by historic_bruno 10 years ago.
Old WIP patch from Philip

Download all attachments as: .zip

Change History (11)

by Juicyfruit, 11 years ago

Attachment: patch added

comment:1 by Juicyfruit, 11 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, 11 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, 11 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, 11 years ago

Milestone: Alpha 9Backlog

comment:5 by historic_bruno, 10 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, 10 years ago

Attachment: cmake.patch added

Old WIP patch from Philip

comment:6 by echotangoecho, 6 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, 6 years ago

Component: Core engineBuild & Packages

comment:8 by echotangoecho, 6 years ago

Owner: set to echotangoecho
Status: newassigned

comment:9 by Vladislav Belov, 8 months ago

Description: modified (diff)
Summary: CMAKEAdd CMake as a build system
Note: See TracTickets for help on using tickets.