diff --git a/doc/users/faq.rst b/doc/users/faq.rst index 5b992ec..fbbb85e 100644 --- a/doc/users/faq.rst +++ b/doc/users/faq.rst @@ -40,3 +40,11 @@ If you export compiler flags using the environment variables ``FCFLAGS``, those flags and neither augment them, nor redefine them. Setting these environment variables you have full control over the flags without editing CMake files. + + +How can I select CMake options via the setup.py script? +------------------------------------------------------- + +Like this:: + + $ python setup.py --cmake-options="-DTHIS_OPTION=ON -DTHAT_OPTION=OFF"