DarkRadiant - Compilation Guide: Difference between revisions

From The DarkMod Wiki
Jump to navigationJump to search
(Strip out paragraphs that have been moved to the Windows article)
No edit summary
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
DarkRadiant's codebase is open source, the main part of the source code is hosted on github. To compile the sources you can either use  
DarkRadiant's codebase is open source, the main part of the source code is hosted on github. To compile the sources you can either use  


* Windows: ''Visual C++ 2015 Community Edition'' (higher editions also possible: Professional, Ultimate, ...)
* Windows: ''Visual Studio 2019 Community Edition'' (higher editions also possible: Professional, Ultimate, ...)
* Linux: gcc/g++ (Automake)
* Linux: gcc/g++ (Automake)
* Mac OS X: Automake (after installing XCode and using MacPorts)


All compilers can be acquired for free and should be able to produce 32 Bit and 64 Bit builds. In any case, since DarkRadiant is using part of the C++11 feature set, a compiler supporting the C++11 standard is required.
All compilers can be acquired for free and should be able to produce 32 Bit and 64 Bit builds. In any case, since DarkRadiant is using part of the C++11 feature set, a compiler supporting the C++11 standard is required.
Line 11: Line 12:
* [[DarkRadiant - Compiling in Windows|Compiling in Windows / Visual Studio]]
* [[DarkRadiant - Compiling in Windows|Compiling in Windows / Visual Studio]]
* [[DarkRadiant - Compiling in Linux|Compiling in Linux]]
* [[DarkRadiant - Compiling in Linux|Compiling in Linux]]
* [[DarkRadiant - Compiling in macOS|Compiling in macOS]] (experimental)
Note: The articles are always referring to the latest revision of the source code, not to a specific release.


{{coding}}
{{coding}}
{{darkradiant|sort=Compilation}}
{{darkradiant|sort=Compilation}}

Revision as of 09:20, 8 December 2019

DarkRadiant's codebase is open source, the main part of the source code is hosted on github. To compile the sources you can either use

  • Windows: Visual Studio 2019 Community Edition (higher editions also possible: Professional, Ultimate, ...)
  • Linux: gcc/g++ (Automake)
  • Mac OS X: Automake (after installing XCode and using MacPorts)

All compilers can be acquired for free and should be able to produce 32 Bit and 64 Bit builds. In any case, since DarkRadiant is using part of the C++11 feature set, a compiler supporting the C++11 standard is required.

Compilation Guides

There are separate articles for Windows and Linux, select one to learn more:

Note: The articles are always referring to the latest revision of the source code, not to a specific release.