]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/tools/build/src/tools/intel.jam
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / tools / build / src / tools / intel.jam
index 67038aa287bc55849806e14c2c2c2fec17376200..4361535bc941cb2070be9f6a57e040d30c4c53bc 100644 (file)
@@ -3,6 +3,53 @@
 # (See accompanying file LICENSE_1_0.txt
 # or copy at http://www.boost.org/LICENSE_1_0.txt)
 
+#| tag::doc[]
+
+[[bbv2.reference.tools.compiler.intel]]
+= Intel C++
+
+The `intel-*` modules support the Intel C++ command-line compiler.
+
+The module is initialized using the following syntax:
+
+----
+using intel : [version] : [c++-compile-command] : [compiler options] ;
+----
+
+This statement may be repeated several times, if you want to configure
+several versions of the compiler.
+
+If compiler command is not specified, then Boost.Build will look in PATH
+for an executable `icpc` (on Linux), or `icc.exe` (on Windows).
+
+The following options can be provided, using
+_`<option-name>option-value syntax`_:
+
+`cflags`::
+Specifies additional compiler flags that will be used when compiling C
+sources.
+
+`cxxflags`::
+Specifies additional compiler flags that will be used when compiling C++
+sources.
+
+`compileflags`::
+Specifies additional compiler flags that will be used when compiling both C
+and C++ sources.
+
+`linkflags`::
+Specifies additional command line options that will be passed to the linker.
+
+The Linux version supports the following additional options:
+
+`root`::
+Specifies root directory of the compiler installation. This option is
+necessary only if it is not possible to detect this information from the
+compiler command -- for example if the specified compiler command is a user
+script.
+
+|# # end::doc[]
+
 # This is a generic 'intel' toolset. Depending on the current
 # system, it forwards either to 'intel-linux' or 'intel-win'
 # modules.