forked from boostorg/predef
Documentation updates.. Add history and tod-do sections. Start adjusting
docs for exclusive defs.
This commit is contained in:
24
doc/history.qbk
Normal file
24
doc/history.qbk
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
[/
|
||||||
|
Copyright 2014 Rene Rivera
|
||||||
|
Distributed under the Boost Software License, Version 1.0.
|
||||||
|
(See accompanying file LICENSE_1_0.txt or copy at
|
||||||
|
http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
]
|
||||||
|
|
||||||
|
[section History]
|
||||||
|
|
||||||
|
[heading 1.1]
|
||||||
|
|
||||||
|
* Addition of `BOOST_PLAT_*` platform definitions for MinGW and
|
||||||
|
Windows platform variants.
|
||||||
|
* Detection of ARM architecture for Windows compilers to target
|
||||||
|
mobile devices of WIndows 8.
|
||||||
|
* Improved ARM detection for 64 bit ARM.
|
||||||
|
* Added detection of iOS an an operating system.
|
||||||
|
* Improved detection of endianess on some platforms.
|
||||||
|
* Addition of exclusive plus emulated definitions for platform
|
||||||
|
and compiler detection.
|
||||||
|
|
||||||
|
[warning The big change for this version is the restructuring of the definitions to avoid duplicate definitions in one category. That is, only one `BOOST_OS_*` variant will be detected (except for sub-categories).]
|
||||||
|
|
||||||
|
[endsect]
|
@@ -45,12 +45,14 @@
|
|||||||
<dt><span class="section"><a href="predef/reference/version_definition_macros.html">Version definition
|
<dt><span class="section"><a href="predef/reference/version_definition_macros.html">Version definition
|
||||||
macros</a></span></dt>
|
macros</a></span></dt>
|
||||||
</dl></dd>
|
</dl></dd>
|
||||||
|
<dt><span class="section"><a href="predef/history.html">History</a></span></dt>
|
||||||
|
<dt><span class="section"><a href="predef/to_do.html">To Do</a></span></dt>
|
||||||
<dt><span class="section"><a href="predef/acknoledgements.html">Acknoledgements</a></span></dt>
|
<dt><span class="section"><a href="predef/acknoledgements.html">Acknoledgements</a></span></dt>
|
||||||
</dl>
|
</dl>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||||
<td align="left"><p><small>Last revised: May 31, 2014 at 03:00:32 GMT</small></p></td>
|
<td align="left"><p><small>Last revised: June 03, 2014 at 03:39:11 GMT</small></p></td>
|
||||||
<td align="right"><div class="copyright-footer"></div></td>
|
<td align="right"><div class="copyright-footer"></div></td>
|
||||||
</tr></table>
|
</tr></table>
|
||||||
<hr>
|
<hr>
|
||||||
|
@@ -6,11 +6,11 @@
|
|||||||
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
||||||
<link rel="home" href="../index.html" title="Predef 1.1">
|
<link rel="home" href="../index.html" title="Predef 1.1">
|
||||||
<link rel="up" href="../index.html" title="Predef 1.1">
|
<link rel="up" href="../index.html" title="Predef 1.1">
|
||||||
<link rel="prev" href="reference/version_definition_macros.html" title="Version definition macros">
|
<link rel="prev" href="to_do.html" title="To Do">
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||||
<div class="spirit-nav">
|
<div class="spirit-nav">
|
||||||
<a accesskey="p" href="reference/version_definition_macros.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a>
|
<a accesskey="p" href="to_do.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a>
|
||||||
</div>
|
</div>
|
||||||
<div class="section">
|
<div class="section">
|
||||||
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
|
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
|
||||||
@@ -43,7 +43,7 @@
|
|||||||
</tr></table>
|
</tr></table>
|
||||||
<hr>
|
<hr>
|
||||||
<div class="spirit-nav">
|
<div class="spirit-nav">
|
||||||
<a accesskey="p" href="reference/version_definition_macros.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a>
|
<a accesskey="p" href="to_do.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
72
doc/html/predef/history.html
Normal file
72
doc/html/predef/history.html
Normal file
@@ -0,0 +1,72 @@
|
|||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||||
|
<title>History</title>
|
||||||
|
<link rel="stylesheet" href="../boostbook.css" type="text/css">
|
||||||
|
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
||||||
|
<link rel="home" href="../index.html" title="Predef 1.1">
|
||||||
|
<link rel="up" href="../index.html" title="Predef 1.1">
|
||||||
|
<link rel="prev" href="reference/version_definition_macros.html" title="Version definition macros">
|
||||||
|
<link rel="next" href="to_do.html" title="To Do">
|
||||||
|
</head>
|
||||||
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||||
|
<div class="spirit-nav">
|
||||||
|
<a accesskey="p" href="reference/version_definition_macros.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="to_do.html"><img src="../images/next.png" alt="Next"></a>
|
||||||
|
</div>
|
||||||
|
<div class="section">
|
||||||
|
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
|
||||||
|
<a name="predef.history"></a><a class="link" href="history.html" title="History">History</a>
|
||||||
|
</h2></div></div></div>
|
||||||
|
<h4>
|
||||||
|
<a name="predef.history.h0"></a>
|
||||||
|
<span class="phrase"><a name="predef.history.1_1"></a></span><a class="link" href="history.html#predef.history.1_1">1.1</a>
|
||||||
|
</h4>
|
||||||
|
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
|
||||||
|
<li class="listitem">
|
||||||
|
Addition of <code class="computeroutput"><span class="identifier">BOOST_PLAT_</span><span class="special">*</span></code> platform definitions for MinGW and Windows
|
||||||
|
platform variants.
|
||||||
|
</li>
|
||||||
|
<li class="listitem">
|
||||||
|
Detection of ARM architecture for Windows compilers to target mobile devices
|
||||||
|
of WIndows 8.
|
||||||
|
</li>
|
||||||
|
<li class="listitem">
|
||||||
|
Improved ARM detection for 64 bit ARM.
|
||||||
|
</li>
|
||||||
|
<li class="listitem">
|
||||||
|
Added detection of iOS an an operating system.
|
||||||
|
</li>
|
||||||
|
<li class="listitem">
|
||||||
|
Improved detection of endianess on some platforms.
|
||||||
|
</li>
|
||||||
|
<li class="listitem">
|
||||||
|
Addition of exclusive plus emulated definitions for platform and compiler
|
||||||
|
detection.
|
||||||
|
</li>
|
||||||
|
</ul></div>
|
||||||
|
<div class="warning"><table border="0" summary="Warning">
|
||||||
|
<tr>
|
||||||
|
<td rowspan="2" align="center" valign="top" width="25"><img alt="[Warning]" src="../images/warning.png"></td>
|
||||||
|
<th align="left">Warning</th>
|
||||||
|
</tr>
|
||||||
|
<tr><td align="left" valign="top"><p>
|
||||||
|
The big change for this version is the restructuring of the definitions to
|
||||||
|
avoid duplicate definitions in one category. That is, only one <code class="computeroutput"><span class="identifier">BOOST_OS_</span><span class="special">*</span></code>
|
||||||
|
variant will be detected (except for sub-categories).
|
||||||
|
</p></td></tr>
|
||||||
|
</table></div>
|
||||||
|
</div>
|
||||||
|
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||||
|
<td align="left"></td>
|
||||||
|
<td align="right"><div class="copyright-footer">Copyright © 2005, 2008-2014 Rene Rivera<p>
|
||||||
|
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||||
|
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
|
||||||
|
</p>
|
||||||
|
</div></td>
|
||||||
|
</tr></table>
|
||||||
|
<hr>
|
||||||
|
<div class="spirit-nav">
|
||||||
|
<a accesskey="p" href="reference/version_definition_macros.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="to_do.html"><img src="../images/next.png" alt="Next"></a>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
@@ -7,11 +7,11 @@
|
|||||||
<link rel="home" href="../../index.html" title="Predef 1.1">
|
<link rel="home" href="../../index.html" title="Predef 1.1">
|
||||||
<link rel="up" href="../reference.html" title="Reference">
|
<link rel="up" href="../reference.html" title="Reference">
|
||||||
<link rel="prev" href="other_macros.html" title="Other macros">
|
<link rel="prev" href="other_macros.html" title="Other macros">
|
||||||
<link rel="next" href="../acknoledgements.html" title="Acknoledgements">
|
<link rel="next" href="../history.html" title="History">
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||||
<div class="spirit-nav">
|
<div class="spirit-nav">
|
||||||
<a accesskey="p" href="other_macros.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="../acknoledgements.html"><img src="../../images/next.png" alt="Next"></a>
|
<a accesskey="p" href="other_macros.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="../history.html"><img src="../../images/next.png" alt="Next"></a>
|
||||||
</div>
|
</div>
|
||||||
<div class="section">
|
<div class="section">
|
||||||
<div class="titlepage"><div><div><h3 class="title">
|
<div class="titlepage"><div><div><h3 class="title">
|
||||||
@@ -178,7 +178,7 @@
|
|||||||
</tr></table>
|
</tr></table>
|
||||||
<hr>
|
<hr>
|
||||||
<div class="spirit-nav">
|
<div class="spirit-nav">
|
||||||
<a accesskey="p" href="other_macros.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="../acknoledgements.html"><img src="../../images/next.png" alt="Next"></a>
|
<a accesskey="p" href="other_macros.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="../history.html"><img src="../../images/next.png" alt="Next"></a>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
37
doc/html/predef/to_do.html
Normal file
37
doc/html/predef/to_do.html
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||||
|
<title>To Do</title>
|
||||||
|
<link rel="stylesheet" href="../boostbook.css" type="text/css">
|
||||||
|
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
||||||
|
<link rel="home" href="../index.html" title="Predef 1.1">
|
||||||
|
<link rel="up" href="../index.html" title="Predef 1.1">
|
||||||
|
<link rel="prev" href="history.html" title="History">
|
||||||
|
<link rel="next" href="acknoledgements.html" title="Acknoledgements">
|
||||||
|
</head>
|
||||||
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||||
|
<div class="spirit-nav">
|
||||||
|
<a accesskey="p" href="history.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="acknoledgements.html"><img src="../images/next.png" alt="Next"></a>
|
||||||
|
</div>
|
||||||
|
<div class="section">
|
||||||
|
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
|
||||||
|
<a name="predef.to_do"></a><a class="link" href="to_do.html" title="To Do">To Do</a>
|
||||||
|
</h2></div></div></div>
|
||||||
|
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem">
|
||||||
|
Improve reference documentation.
|
||||||
|
</li></ul></div>
|
||||||
|
</div>
|
||||||
|
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||||
|
<td align="left"></td>
|
||||||
|
<td align="right"><div class="copyright-footer">Copyright © 2005, 2008-2014 Rene Rivera<p>
|
||||||
|
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||||
|
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
|
||||||
|
</p>
|
||||||
|
</div></td>
|
||||||
|
</tr></table>
|
||||||
|
<hr>
|
||||||
|
<div class="spirit-nav">
|
||||||
|
<a accesskey="p" href="history.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="acknoledgements.html"><img src="../images/next.png" alt="Next"></a>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
@@ -51,6 +51,10 @@
|
|||||||
<code class="computeroutput"><span class="identifier">BOOST_OS_</span></code> for the operating
|
<code class="computeroutput"><span class="identifier">BOOST_OS_</span></code> for the operating
|
||||||
system we are compiling to.
|
system we are compiling to.
|
||||||
</li>
|
</li>
|
||||||
|
<li class="listitem">
|
||||||
|
<code class="computeroutput"><span class="identifier">BOOST_PLAT_</span></code> for platforms
|
||||||
|
on top of operating system or compilers.
|
||||||
|
</li>
|
||||||
<li class="listitem">
|
<li class="listitem">
|
||||||
<code class="computeroutput"><span class="identifier">BOOST_ENDIAN_</span></code> for endianness
|
<code class="computeroutput"><span class="identifier">BOOST_ENDIAN_</span></code> for endianness
|
||||||
of the os and architecture combination.
|
of the os and architecture combination.
|
||||||
@@ -128,7 +132,7 @@
|
|||||||
<span class="special">}</span>
|
<span class="special">}</span>
|
||||||
</pre>
|
</pre>
|
||||||
<p>
|
<p>
|
||||||
In addition, for each version macro defined there is a <code class="computeroutput"><span class="special">*</span><span class="identifier">_AVAILABLE</span></code> macro defined only when the particular
|
In addition, for each version macro defined there is an <code class="computeroutput"><span class="special">*</span><span class="identifier">_AVAILABLE</span></code> macro defined only when the particular
|
||||||
aspect is detected. I.e. a definition equivalent to:
|
aspect is detected. I.e. a definition equivalent to:
|
||||||
</p>
|
</p>
|
||||||
<pre class="programlisting"><span class="preprocessor">#if</span> <span class="identifier">BOOST_PREDEF_ABC</span>
|
<pre class="programlisting"><span class="preprocessor">#if</span> <span class="identifier">BOOST_PREDEF_ABC</span>
|
||||||
|
@@ -141,6 +141,7 @@ macros of a particular prefix:
|
|||||||
* `BOOST_LIB_C_` and `BOOST_LIB_STD_` for the C and C++ standard library
|
* `BOOST_LIB_C_` and `BOOST_LIB_STD_` for the C and C++ standard library
|
||||||
in use.
|
in use.
|
||||||
* `BOOST_OS_` for the operating system we are compiling to.
|
* `BOOST_OS_` for the operating system we are compiling to.
|
||||||
|
* `BOOST_PLAT_` for platforms on top of operating system or compilers.
|
||||||
* `BOOST_ENDIAN_` for endianness of the os and architecture combination.
|
* `BOOST_ENDIAN_` for endianness of the os and architecture combination.
|
||||||
|
|
||||||
[note The detected definitions are for the configuration one is targeting
|
[note The detected definitions are for the configuration one is targeting
|
||||||
@@ -209,7 +210,7 @@ from the preprocessor:
|
|||||||
}
|
}
|
||||||
``
|
``
|
||||||
|
|
||||||
In addition, for each version macro defined there is a
|
In addition, for each version macro defined there is an
|
||||||
`*_AVAILABLE` macro defined only when the particular aspect is
|
`*_AVAILABLE` macro defined only when the particular aspect is
|
||||||
detected. I.e. a definition equivalent to:
|
detected. I.e. a definition equivalent to:
|
||||||
|
|
||||||
@@ -458,6 +459,9 @@ and "Y", "M", "D" for dates.
|
|||||||
|
|
||||||
[endsect]
|
[endsect]
|
||||||
|
|
||||||
|
[include history.qbk]
|
||||||
|
[include todo.qbk]
|
||||||
|
|
||||||
[section Acknoledgements]
|
[section Acknoledgements]
|
||||||
|
|
||||||
The comprehensiveness of this library would not be
|
The comprehensiveness of this library would not be
|
||||||
|
@@ -7,13 +7,6 @@ http://www.boost.org/LICENSE_1_0.txt)
|
|||||||
|
|
||||||
[section To Do]
|
[section To Do]
|
||||||
|
|
||||||
* Provide "exclusive" defs for compilers, OS, and others, that are exclusively
|
|
||||||
defined for the detected component. Or do we follow what we do with OS detection
|
|
||||||
and keep the various category defs exclusive within the category (i.e. only
|
|
||||||
define one compiler, language, etc). Or is this something specific to the category?
|
|
||||||
Possible exclusive categories: architecture, compiler, platform.
|
|
||||||
* Improve reference documentation.
|
* Improve reference documentation.
|
||||||
* Integrate Quickbook multi-include changes to main line Quickbook so that
|
|
||||||
Predef can be included in the global documentation.
|
|
||||||
|
|
||||||
[endsect]
|
[endsect]
|
||||||
|
2
test/.gitignore
vendored
Normal file
2
test/.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
/defs-clang.txt
|
||||||
|
/defs-gcc.txt
|
Reference in New Issue
Block a user