Re: [AD] [A 4.4]Patch for cmake._tx |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
Elias Pschernig wrote:
On Sun, 2011-05-08 at 09:39 -0500, Edgar wrote:
I've included a small patch for allegro/docs/src/build/cmake._tx that
adds the WANT_EXAMPLES flag to the documentation, along with another
minor change.
Please let me know if it is acceptable and if you submit it.
I can't find the patch.
Sorry, I'm a moron. Here it is.
--- cmake._tx.old 2011-03-08 22:59:57.553544500 -0600
+++ cmake._tx 2011-05-08 09:35:00.203864500 -0500
@@ -23,7 +23,8 @@
environment and generate makefiles or workspaces for you. You may pass some
options to customise the build (see later), but the defaults should be fine.
You may need to tell CMake which type of files it should generate, using the
- -G option.
+ -G option. You can call CMake using the --help option to see a list of
+ available generators.
Examples (you only need one):
<code>
@@ -81,6 +82,9 @@
<dt><b>WANT_<addon></b> (default: on)</dt><dd>
Whether you want to build/install each particular addon.
</dd>
+ <dt><b>WANT_EXAMPLES</b> (default: off)</dt><dd>
+ Whether you want the specified addon's example programs to be built.
+ </dd>
<dt><b>WANT_FRAMEWORKS</b> (default: off)</dt><dd>
On Mac OS X, whether to build and install frameworks instead of
Unix-style shared libraries.