Skip to content

Commit

Permalink
- Added detailed information regarding build configurations to README
Browse files Browse the repository at this point in the history
  • Loading branch information
iarwain committed May 29, 2022
1 parent 106face commit 308114e
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 8 deletions.
21 changes: 16 additions & 5 deletions README.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@

body .markdown-body {
padding: 45px;
border: 1px solid #ddd;
border-radius: 3px;
word-wrap: break-word;
}

Expand Down Expand Up @@ -1165,9 +1163,22 @@ <h3>
This script will download all the needed dependencies and generate all the project files for your platform.
The script will then hook itself to mercurial/git and you shouldn't have to run it manually after subsequent pulls.</strong></p>
<p>The easiest way to learn how to compile your project using orx for a given platform
is to look at the tutorial build project files.</p>
<p>NB: The debug version is far slower than the release one, but will output all the warning
and error messages useful during development.</p>
is to check <a href="https://wiki.orx-project.org" rel="nofollow">orx's wiki</a>.</p>
<p>The generated project files will contain 6 different configurations to build orx: <code>Debug</code>, <code>Profile</code> &amp; <code>Release</code> in both regular and <code>Core</code> flavors. Here's what they do:</p>
<ul>
<li>
<p><code>Debug</code>: These configurations will build orx in debug mode. They are the only configurations that will output warning and error messages resulting from incorrect data, code and behaviors. These configurations are also much slower than the other ones but is recommended during development to catch any mistake. Note: the internal profiler is also available with these configurations.</p>
</li>
<li>
<p><code>Profile</code>: These configurations will build orx in optimized mode but will keep the internal profiler, slightly slowing down the execution but allowing the user to get high level profiling information which can be very useful during development.</p>
</li>
<li>
<p><code>Release</code>: These configurations will build orx in optimized mode, <em>without</em> the internal profiler. These are the configurations one should be using when shipping their project. Note: on Windows, the OS terminal will also be hidden with this configuration.</p>
</li>
<li>
<p><code>Core</code>: Those configurations will only build orx's core as a static library. With these configurations, no plugins will be compiled/embedded. In non-<code>Core</code> configurations, all the plugins are built and embedded inside orx's library, and should be the configurations used by most users. The <code>Core</code> configurations are typically used to build orx's tools that do not require any plugin (<code>orxCrypt</code> &amp; <code>orxFontGen</code>).</p>
</li>
</ul>
<p>Here's a quick list of the available compile preprocessor flags:</p>
<ul>
<li>
Expand Down
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,10 +178,18 @@ This script will download all the needed dependencies and generate all the proje
The script will then hook itself to mercurial/git and you shouldn't have to run it manually after subsequent pulls.**

The easiest way to learn how to compile your project using orx for a given platform
is to look at the tutorial build project files.
is to check [orx's wiki](https://wiki.orx-project.org).

The generated project files will contain 6 different configurations to build orx: `Debug`, `Profile` & `Release` in both regular and `Core` flavors. Here's what they do:

- `Debug`: These configurations will build orx in debug mode. They are the only configurations that will output warning and error messages resulting from incorrect data, code and behaviors. These configurations are also much slower than the other ones but is recommended during development to catch any mistake. Note: the internal profiler is also available with these configurations.

- `Profile`: These configurations will build orx in optimized mode but will keep the internal profiler, slightly slowing down the execution but allowing the user to get high level profiling information which can be very useful during development.

- `Release`: These configurations will build orx in optimized mode, *without* the internal profiler. These are the configurations one should be using when shipping their project. Note: on Windows, the OS terminal will also be hidden with this configuration.

- `Core`: Those configurations will only build orx's core as a static library. With these configurations, no plugins will be compiled/embedded. In non-`Core` configurations, all the plugins are built and embedded inside orx's library, and should be the configurations used by most users. The `Core` configurations are typically used to build orx's tools that do not require any plugin (`orxCrypt` & `orxFontGen`).

NB: The debug version is far slower than the release one, but will output all the warning
and error messages useful during development.

Here's a quick list of the available compile preprocessor flags:

Expand Down

0 comments on commit 308114e

Please sign in to comment.