mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-29 07:01:55 +00:00
62 lines
5.4 KiB
HTML
Executable file
62 lines
5.4 KiB
HTML
Executable file
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
|
|
<head>
|
|
<title>About Compiler Configurations</title>
|
|
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
|
|
<link rel="stylesheet" type="text/css" href="../default.css" media="screen" title="Default" />
|
|
</head>
|
|
<body>
|
|
<object type="application/x-oleobject" classid="clsid:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e">
|
|
<param name="keyword" value="compiling">
|
|
<param name="keyword" value="compilation">
|
|
<param name="keyword" value="svn">
|
|
</object>
|
|
<div id="gz_title">
|
|
<h1>Compiling GZDoom Builder</h1>
|
|
</div>
|
|
<div id="contents">
|
|
<h2>Required software:</h2>
|
|
<ul>
|
|
<li>
|
|
Visual C# 2008 Express Edition or newer with .net Framework 3.5 support. You can download it for free from <a href="http://msdn.microsoft.com/vstudio/express/">http://msdn.microsoft.com/vstudio/express/</a>. Alternatively, you can use Visual Studio 2008 or newer with .net Framework 3.5 support.</li>
|
|
</ul>
|
|
|
|
<h2>Optional software:</h2>
|
|
<ul>
|
|
<li>Git command-line client (<a href="https://git-scm.com/">https://git-scm.com/</a>).</li>
|
|
<li>TortoiseGit (<a href="https://tortoisegit.org/">https://tortoisegit.org/</a>).</li>
|
|
<li>7-zip archiver (<a href="www.7-zip.org">www.7-zip.org</a>).</li>
|
|
<li>Inno Setup 5 or newer (<a href="http://www.jrsoftware.org/isinfo.php">http://www.jrsoftware.org/isinfo.php</a>).</li>
|
|
<li>Microsoft HTML Help compiler (<a href="http://www.microsoft.com/en-us/download/details.aspx?id=21138">http://www.microsoft.com/en-us/download/details.aspx?id=21138</a>).</li>
|
|
<li>SlimDX Developer SDK (<a href="http://slimdx.org/download.php">http://slimdx.org/download.php</a>).</li>
|
|
<li>DirectX SDK (<a href="https://www.microsoft.com/en-us/download/details.aspx?id=6812">https://www.microsoft.com/en-us/download/details.aspx?id=6812</a>).</li>
|
|
</ul>
|
|
|
|
<h2>Obtaining the source:</h2>
|
|
The GZDoom Builder source code is hosted at GitHub (<a href="https://github.com/m-x-d/GZDoom-Builder">https://github.com/m-x-d/GZDoom-Builder</a>).
|
|
<h2>Quick start guide:</h2>
|
|
This guide assumes you are using <strong>Visual Studio 2008</strong> / <strong>Visual C# 2008 Express Edition</strong> and <strong>TortioseGit</strong>.
|
|
<ol>
|
|
<li>Create an empty folder, right click on it and choose "<strong>GIT Clone...</strong>" from the context menu.</li>
|
|
<li>Enter "<strong>https://github.com/m-x-d/GZDoom-Builder.git</strong>" in the "<strong>URL</strong>" field, click OK and wait for the source to download.</li>
|
|
<li> Open "<strong>Builder.sln</strong>" in the Visual Studio and make sure it compiles and runs (click the green "<strong>Play</strong>" button, or press <strong>F5</strong>).
|
|
<ul>
|
|
<li>If the Visual Studio complains about missing <strong>SlimDX</strong> reference in the Builder project, you'll need to re-add it manually. To do so, delete SlimDX from the References in the Solution Explorer, right click on the Builder project and choose "<strong>Add reference</strong>". On the .NET tab, choose SlimDX (.net 2.0, x86 version).</li>
|
|
<li>You can ignore the warning about missing <strong>JetBrains.Profiler.Core.Api</strong> reference. Everything should build fine, unless you choose a profiler-enabled build target (or you can use dotTrace Performance, if you have access to it).</li>
|
|
</ul>
|
|
</li>
|
|
<li>If you are planning to submit your changes to the main GZDoom Builder repository, it's recomeded to fork GZDoom Builder at GitHub, make the changes, then submit a Pull Request.</li>
|
|
</ol>
|
|
<h2>Batch files:</h2>
|
|
GZDB source comes with several batch files, which can be used to automatically compile and package the editor. Before launching a batch file for the first time, make sure to open it and check that variables holding software paths point to the right directories. These variables are always located near the top of the file, after the info block.
|
|
<ul>
|
|
<li><strong>Clean Rebuild.bat</strong> - removes project cache files, then compiles it in Release mode.<br />Requires Visual C# Express Edition / Visual Studio.</li><br />
|
|
<li><strong>Compile Help.bat</strong> - compiles "Build\Refmanual.chm". Help source files are located in the "Help" directory.<br />Requires Microsoft HTML Help compiler.</li><br />
|
|
<li><strong>Make Release.bat</strong> - removes project cache files, sets project version number to match the latest SVN revision, compiles the project in Release mode, generates "Build\Changelog.txt", compiles "Build\Refmanual.chm", creates an installer and places it in the "Release" folder.<br />
|
|
Requires Git command-line client, Visual C# Express Edition / Visual Studio, Microsoft HTML Help compiler and Inno Setup 5.</li><br />
|
|
<li><strong>Make GIT Build.bat</strong> - removes project cache files, sets project version number to match the number of commits in the master branch, compiles the project in Release mode, generates "Build\Changelog.txt", compiles "Build\Refmanual.chm", packs the build into 7-zip archive and places it in the "GIT_Build" folder.<br />
|
|
Requires Git command-line client, Visual C# Express Edition / Visual Studio, Microsoft HTML Help compiler and 7-zip archiver.</li>
|
|
</ul>
|
|
</div>
|
|
</body>
|
|
|