Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Weissblatt Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Building with Ninja
(section)
Page
Discussion
English
Read
Edit
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
Edit source
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Ninja compared to Make for building Weissblatt == Traditionally Weissblatt's engine used to be built using [[wikipedia:Make_(software)|Make]], the traditional UNIX build system for C/C++ programs. However, there are multiple reasons to consider migrating to a more modern build system: # The engine's Makefile has grown large, complex and hard to maintain over the years. # Although building with a working Makefile is simple on UNIX-like systems, Make's dependency on a UNIX-like environment makes cross-platform development difficult. Ideally, the game's main build system should be system-agnostic to ease maintenance. # To alleviate the problem described in 2), the Windows build system already relies on CMake separately of the Makefile for UNIX builds. Since CMake is already considered standard tooling in modern C/C++ development - especially for cross-platform development - CMake poses an easy to implement, system-agnostic alternative to the current Makefile system. Ninja is particularly noteworthy here because it is explicitly designed to have it's build files generated by higher order build systems and is thus well integrated into the already-used CMake. Thus instead of shipping the repository with a single unified and hard to maintain Makefile to build the game on all systems, the game's potential future build system shifts towards relying on the already cross-platform CMake to generate Ninja build files tailored to each developer's individual development system.
Summary:
Please note that all contributions to Weissblatt Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Weissblatt Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Building with Ninja
(section)
Add topic