2013-07-17 19:24:07 +02:00
|
|
|
.. index:: install_options
|
|
|
|
|
|
|
|
.. highlight:: bash
|
|
|
|
|
|
|
|
.. _install_options:
|
|
|
|
|
2013-08-29 17:23:40 +02:00
|
|
|
Customizing installation: cmake options
|
|
|
|
---------------------------------------
|
2013-07-17 19:24:07 +02:00
|
|
|
|
|
|
|
Specifying the compiler or compile/link flags
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2013-08-30 16:15:47 +02:00
|
|
|
To specify the compiler with cmake one may use the CXX, CXXFLAGS variables, e.g.::
|
2013-07-17 19:24:07 +02:00
|
|
|
|
2013-08-30 16:15:47 +02:00
|
|
|
CXX=clang++ CXXFLAGS=XXXX cmake path_to_TRIQS_source_directory ...
|
2013-07-17 19:24:07 +02:00
|
|
|
|
2013-08-31 23:53:58 +02:00
|
|
|
cmake options
|
2013-07-17 19:24:07 +02:00
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
2013-08-31 23:53:58 +02:00
|
|
|
+--------------------------------------+------------------------------------------------+
|
|
|
|
| Options | Syntax |
|
|
|
|
+======================================+================================================+
|
|
|
|
| Build the documentation | -DBuild_Documentation=ON |
|
|
|
|
+--------------------------------------+------------------------------------------------+
|
|
|
|
| Special python interpreter | -DPYTHON_INTERPRETER=path/python |
|
|
|
|
+--------------------------------------+------------------------------------------------+
|
|
|
|
| Specify the installation directory | -DCMAKE_INSTALL_PREFIX=install_path |
|
|
|
|
+--------------------------------------+------------------------------------------------+
|
2013-07-17 19:24:07 +02:00
|
|
|
|