forked from boostorg/predef
Conform to latest library requirements.
This commit is contained in:
1 parent
0f70c3578a
commit
009367d6a1
19 files changed
+252
-218
No files matched your search
+16
-7
@@ -1,4 +1,4 @@
|
||||
# Copyright Rene Rivera 2011
|
||||
# Copyright Rene Rivera 2011-2016
|
||||
# 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)
|
||||
@@ -23,6 +23,9 @@ else
|
||||
|
||||
local BOOST_PREDEF_HEADERS = [ path.glob-tree $(BOOST_PREDEF_INCLUDE_ROOT)/boost/predef : *.h ] ;
|
||||
|
||||
# Intermediate targets..
|
||||
|
||||
# Quickbok to boostbook target.
|
||||
xml predef
|
||||
:
|
||||
predef.qbk
|
||||
@@ -32,6 +35,15 @@ xml predef
|
||||
;
|
||||
explicit predef ;
|
||||
|
||||
# HTML dependencies for standalone docs.
|
||||
install images : [ glob $(BOOST_ROOT)/doc/src/images/*.png ] : <location>html/images ;
|
||||
explicit images ;
|
||||
install callouts : [ glob $(BOOST_ROOT)/doc/src/images/callouts/*.png ] : <location>html/images/callouts ;
|
||||
explicit callouts ;
|
||||
install css : [ glob $(BOOST_ROOT)/doc/src/*.css ] : <location>html ;
|
||||
explicit css ;
|
||||
|
||||
# Default target builds standalone docs.
|
||||
boostbook standalone
|
||||
:
|
||||
predef
|
||||
@@ -46,9 +58,6 @@ boostbook standalone
|
||||
<dependency>css
|
||||
;
|
||||
|
||||
install images : [ glob $(BOOST_ROOT)/doc/src/images/*.png ] : <location>html/images ;
|
||||
explicit images ;
|
||||
install callouts : [ glob $(BOOST_ROOT)/doc/src/images/callouts/*.png ] : <location>html/images/callouts ;
|
||||
explicit callouts ;
|
||||
install css : [ glob $(BOOST_ROOT)/doc/src/*.css ] : <location>html ;
|
||||
explicit css ;
|
||||
# Target for Boost global documentation integration.
|
||||
alias boostdoc : predef : : : <implcit-dependency>predef ;
|
||||
explicit boostdoc ;
|
||||
+1
-1
@@ -57,7 +57,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"><p><small>Last revised: October 15, 2015 at 04:09:31 GMT</small></p></td>
|
||||
<td align="left"><p><small>Last revised: January 07, 2016 at 18:48:05 GMT</small></p></td>
|
||||
<td align="right"><div class="copyright-footer"></div></td>
|
||||
</tr></table>
|
||||
<hr>
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
gets built as part of your project based on the detailed version information
|
||||
available in Predef. The basic use is simple:
|
||||
</p>
|
||||
<pre class="programlisting">import path-to-predef-src/check/predef
|
||||
<pre class="programlisting">import path-to-predef-src/tools/check/predef
|
||||
: check require
|
||||
: predef-check predef-require ;
|
||||
|
||||
@@ -85,7 +85,7 @@ exe my_windows_program : windows_source.cpp
|
||||
unless one is building for Windows. Like the direct <code class="literal">predef_check</code>
|
||||
you can pass mutiple expressions using relational comparisons. For example:
|
||||
</p>
|
||||
<pre class="programlisting">import path-to-predef-src/check/predef
|
||||
<pre class="programlisting">import path-to-predef-src/tools/check/predef
|
||||
: check require
|
||||
: predef-check predef-require ;
|
||||
|
||||
@@ -106,7 +106,7 @@ lib my_special_lib : source.cpp
|
||||
The expression can also use explicit "and", "or" logical
|
||||
operators to for more complex checks:
|
||||
</p>
|
||||
<pre class="programlisting">import path-to-predef-src/check/predef
|
||||
<pre class="programlisting">import path-to-predef-src/tools/check/predef
|
||||
: check require
|
||||
: predef-check predef-require ;
|
||||
|
||||
@@ -127,7 +127,7 @@ lib my_special_lib : source.cpp
|
||||
as requirements. For example you could use it to enable or disable features
|
||||
in your programs:
|
||||
</p>
|
||||
<pre class="programlisting">import path-to-predef-src/check/predef
|
||||
<pre class="programlisting">import path-to-predef-src/tools/check/predef
|
||||
: check require
|
||||
: predef-check predef-require ;
|
||||
|
||||
|
||||
@@ -584,7 +584,7 @@
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
BOOST_HW_SIMD_x86_AVX2_VERSION
|
||||
BOOST_HW_SIMD_X86_AVX2_VERSION
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -692,7 +692,7 @@
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
BOOST_HW_SIMD_x86_SSE4A_VERSION
|
||||
BOOST_HW_SIMD_X86_SSE4A_VERSION
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -704,7 +704,7 @@
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
BOOST_HW_SIMD_x86_FMA4_VERSION
|
||||
BOOST_HW_SIMD_X86_FMA4_VERSION
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -716,7 +716,7 @@
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
BOOST_HW_SIMD_x86_XOP_VERSION
|
||||
BOOST_HW_SIMD_X86_XOP_VERSION
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -728,7 +728,7 @@
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
BOOST_HW_SIMD_x86
|
||||
BOOST_HW_SIMD_X86
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -1180,10 +1180,10 @@
|
||||
</p>
|
||||
<h6>
|
||||
<a name="predef.reference.boost_hw_hardware_macros.boost_hw_simd_x86_amd_version.h1"></a>
|
||||
<span class="phrase"><a name="predef.reference.boost_hw_hardware_macros.boost_hw_simd_x86_amd_version.boost_hw_simd_x86_xop_version"></a></span><a class="link" href="boost_hw_hardware_macros.html#predef.reference.boost_hw_hardware_macros.boost_hw_simd_x86_amd_version.boost_hw_simd_x86_xop_version"><code class="computeroutput"><span class="identifier">BOOST_HW_SIMD_X86_XOP_VERSION</span></code></a>
|
||||
<span class="phrase"><a name="predef.reference.boost_hw_hardware_macros.boost_hw_simd_x86_amd_version.boost_hw_simd_x86_fma4_version"></a></span><a class="link" href="boost_hw_hardware_macros.html#predef.reference.boost_hw_hardware_macros.boost_hw_simd_x86_amd_version.boost_hw_simd_x86_fma4_version"><code class="computeroutput"><span class="identifier">BOOST_HW_SIMD_X86_FMA4_VERSION</span></code></a>
|
||||
</h6>
|
||||
<p>
|
||||
<a href="https://en.wikipedia.org/wiki/XOP_instruction_set" target="_top">XOP</a>
|
||||
<a href="https://en.wikipedia.org/wiki/FMA_instruction_set#FMA4_instruction_set" target="_top">FMA4</a>
|
||||
x86 extension (AMD specific).
|
||||
</p>
|
||||
<p>
|
||||
@@ -1191,7 +1191,7 @@
|
||||
</p>
|
||||
<h6>
|
||||
<a name="predef.reference.boost_hw_hardware_macros.boost_hw_simd_x86_amd_version.h2"></a>
|
||||
<span class="phrase"><a name="predef.reference.boost_hw_hardware_macros.boost_hw_simd_x86_amd_version.boost_hw_simd_x86_xop_version0"></a></span><a class="link" href="boost_hw_hardware_macros.html#predef.reference.boost_hw_hardware_macros.boost_hw_simd_x86_amd_version.boost_hw_simd_x86_xop_version0"><code class="computeroutput"><span class="identifier">BOOST_HW_SIMD_X86_XOP_VERSION</span></code></a>
|
||||
<span class="phrase"><a name="predef.reference.boost_hw_hardware_macros.boost_hw_simd_x86_amd_version.boost_hw_simd_x86_xop_version"></a></span><a class="link" href="boost_hw_hardware_macros.html#predef.reference.boost_hw_hardware_macros.boost_hw_simd_x86_amd_version.boost_hw_simd_x86_xop_version"><code class="computeroutput"><span class="identifier">BOOST_HW_SIMD_X86_XOP_VERSION</span></code></a>
|
||||
</h6>
|
||||
<p>
|
||||
<a href="https://en.wikipedia.org/wiki/XOP_instruction_set" target="_top">XOP</a>
|
||||
|
||||
+4
-4
@@ -619,7 +619,7 @@ version information available in Predef. The basic use is simple:
|
||||
|
||||
[teletype]
|
||||
``
|
||||
import path-to-predef-src/check/predef
|
||||
import path-to-predef-src/tools/check/predef
|
||||
: check require
|
||||
: predef-check predef-require ;
|
||||
|
||||
@@ -635,7 +635,7 @@ For example:
|
||||
|
||||
[teletype]
|
||||
``
|
||||
import path-to-predef-src/check/predef
|
||||
import path-to-predef-src/tools/check/predef
|
||||
: check require
|
||||
: predef-check predef-require ;
|
||||
|
||||
@@ -663,7 +663,7 @@ to for more complex checks:
|
||||
|
||||
[teletype]
|
||||
``
|
||||
import path-to-predef-src/check/predef
|
||||
import path-to-predef-src/tools/check/predef
|
||||
: check require
|
||||
: predef-check predef-require ;
|
||||
|
||||
@@ -690,7 +690,7 @@ features in your programs:
|
||||
|
||||
[teletype]
|
||||
``
|
||||
import path-to-predef-src/check/predef
|
||||
import path-to-predef-src/tools/check/predef
|
||||
: check require
|
||||
: predef-check predef-require ;
|
||||
|
||||
|
||||
Reference in new issue
Block a user