Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMake build system improvements #4

Open
ghost opened this issue Sep 5, 2011 · 0 comments
Open

CMake build system improvements #4

ghost opened this issue Sep 5, 2011 · 0 comments

Comments

@ghost
Copy link

ghost commented Sep 5, 2011

Building mangos-zero with CMake has been stable for a while, and produces working builds on several platforms.

As always there is room for improvement!

CMake requirements

CMake has been making quite a few bigger steps with the last releases of the 2.8 series, especially with version 2.8.5 allowing for proper builds with both the free editions of Visual C++ and the professional editions.

Also of interest is the support for the clang C/C++ frontend for LLVM, which provides another compiler suite on which *mangos-zero can be built.

Other improvements e.g. include support for resources using MinGW.

With all those improvements in mind, CMake version 2.8.5 should become the minimum requirement.

Platform support

mangos-zero should be configurable using CMake on at least these operating systems:

  • Windows Vista / Windows 7 (x86 and x64 architecture).
  • Linux 2.6.38 / Linux 3.0.0 (x86 and x86_64 architecture).
  • Mac OS X 10.6 / Mac OS X 10.7 (x86_64).

Compiler support

mangos-zero should be compilable using these compilers:

  • gcc 4.6 and newer.
  • clang(++) 2.9 and newer.
  • Visual C++ 2008 and newer.
  • MinGW 20110306 and newer.

Installer enhancements

In addition the CMake build definition should use native CMake modules where possible, and the custom extensions should be updated to follow identical coding conventions like CMakes' native modules.

This also includes using CMakes' builtin scripting functions to detect git support and get the current git revision, or to create the version / revision file using CMake instead of an executable being built.

@ghost ghost self-assigned this Sep 5, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

0 participants