3
0
mirror of https://github.com/triqs/dft_tools synced 2024-12-27 06:43:40 +01:00
dft_tools/doc/installation/install_options.rst

31 lines
1.2 KiB
ReStructuredText
Raw Normal View History

.. 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 ...
2013-08-31 23:53:58 +02:00
cmake options
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
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 |
+--------------------------------------+------------------------------------------------+