From 31f6f489840358f49e4f9a6834cb5061fa3ad456 Mon Sep 17 00:00:00 2001 From: Radovan Bast Date: Thu, 30 Jul 2015 21:26:45 +0200 Subject: [PATCH] extend user FAQ --- doc/users/faq.rst | 8 ++++++++ 1 file changed, 8 insertions(+) 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"