DarkRadiant - Compilation Guide: Difference between revisions

From The DarkMod Wiki
Jump to navigationJump to search
No edit summary
No edit summary
 
(5 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 2022 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)
* 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. In any case, since DarkRadiant is using part of the C++17 feature set, a compiler supporting the C++17 standard is required.


= Compilation Guides =
= Compilation Guides =
Line 12: 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 OS X|Compiling in OS X]] (experimental)
* [[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}}

Latest revision as of 19:34, 1 April 2022

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 2022 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. In any case, since DarkRadiant is using part of the C++17 feature set, a compiler supporting the C++17 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.