DarkRadiant - Compiling in Visual C++ 2013: Difference between revisions

From The DarkMod Wiki
Jump to navigationJump to search
No edit summary
Line 3: Line 3:
You can use the free Visual Studio Express for Windows Desktop edition to compile DarkRadiant. See below for a link to the Microsoft website.
You can use the free Visual Studio Express for Windows Desktop edition to compile DarkRadiant. See below for a link to the Microsoft website.


Once you have VC++ installed open the DarkRadiant solution file (.sln) which is ready for you in the <tt>tools/msvc2012</tt> folder. Hit Ctrl-Shift-B in VC++ to start building the sources.
Once you have VC++ installed open the DarkRadiant solution file (.sln) which is ready for you in the <tt>tools/msvc2013</tt> folder. Hit Ctrl-Shift-B in VC++ to start building the sources.


The project output files are set up such that the binaries get automatically installed in the <tt>install/</tt>, <tt>install/modules/</tt> and <tt>install/plugins/</tt> folders. Also, all dependencies from the w32deps/ folder (see previous section) are automatically copied into the install/ folder during the post-build event. If anything goes wrong during compilation, please seek help in the [http://forums.thedarkmod.com/forum/51-darkradiant-feedback-and-development/ forums].
The project output files are set up such that the binaries get automatically installed in the <tt>install/</tt>, <tt>install/modules/</tt> and <tt>install/plugins/</tt> folders. Also, all dependencies from the w32deps/ folder (see previous section) are automatically copied into the install/ folder during the post-build event. If anything goes wrong during compilation, please seek help in the [http://forums.thedarkmod.com/forum/51-darkradiant-feedback-and-development/ forums].
Line 14: Line 14:
== See also / Links ==
== See also / Links ==
* [[DarkRadiant - Compilation Guide]]
* [[DarkRadiant - Compilation Guide]]
* [http://www.microsoft.com/visualstudio/eng/downloads#d-express-windows-desktop Visual Studio 2012 Express for Windows Desktop]
* [http://www.visualstudio.com/de-de/downloads Visual Studio 2013 Express for Windows Desktop]


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

Revision as of 07:53, 12 October 2014

This article describes the specifics of how to compile DarkRadiant in Visual Studio from source. To learn how and where to acquire and set up the sources, please refer to the main article: DarkRadiant - Compilation Guide

You can use the free Visual Studio Express for Windows Desktop edition to compile DarkRadiant. See below for a link to the Microsoft website.

Once you have VC++ installed open the DarkRadiant solution file (.sln) which is ready for you in the tools/msvc2013 folder. Hit Ctrl-Shift-B in VC++ to start building the sources.

The project output files are set up such that the binaries get automatically installed in the install/, install/modules/ and install/plugins/ folders. Also, all dependencies from the w32deps/ folder (see previous section) are automatically copied into the install/ folder during the post-build event. If anything goes wrong during compilation, please seek help in the forums.

Note

If you cloned the sources to C:\Games\DarkRadiant, the application binary will be placed in C:\Games\DarkRadiant\install\DarkRadiant.exe

Compiling for Windows x64

To build a package for the x64 target, make sure to select the x64 platform from the configuration manager's dropdown box (located in Visual Studio's toolbar). Choose a release build and hit Build solution, the rest should be automatic. Just like the 32 Bit build expects the w32deps folder to be locatede along the sources, the x64 build process requires the w64deps folder to be present, see the main DarkRadiant - Compilation Guide article for details. The output directory of this x64 build process is the same as for the x86 build.

See also / Links