3
0
mirror of https://github.com/triqs/dft_tools synced 2024-12-25 13:53:40 +01:00
dft_tools/doc/installation/install_options.rst
Olivier Parcollet 352d049137 Work on doc
2013-09-02 21:25:43 +02:00

31 lines
1.2 KiB
ReStructuredText

.. index:: install_options
.. highlight:: bash
.. _install_options:
Customizing installation: cmake options
---------------------------------------
Specifying the compiler or compile/link flags
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
To specify the compiler with cmake one may use the CXX, CXXFLAGS variables, e.g.::
CXX=clang++ CXXFLAGS=XXXX cmake path_to_TRIQS_source_directory ...
cmake options
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+--------------------------------------+------------------------------------------------+
| Options | Syntax |
+======================================+================================================+
| Build the documentation | -DBuild_Documentation=ON |
+--------------------------------------+------------------------------------------------+
| Special python interpreter | -DPYTHON_INTERPRETER=path/python |
+--------------------------------------+------------------------------------------------+
| Specify the installation directory | -DCMAKE_INSTALL_PREFIX=install_path |
+--------------------------------------+------------------------------------------------+