update --cmake-options example; fixes #169

This commit is contained in:
Radovan Bast 2016-04-10 17:24:49 +02:00
parent 8edce7af96
commit ea962bf074

View File

@ -47,4 +47,8 @@ How can I select CMake options via the setup script?
Like this::
$ python setup --cmake-options="-DTHIS_OPTION=ON -DTHAT_OPTION=OFF"
$ python setup --cmake-options='"-DTHIS_OPTION=ON -DTHAT_OPTION=OFF"'
We use two sets of quotes because the shell swallows one set of them
before passing the arguments to Python. If you do not use two sets
of quotes then the setup command may end up incorrectly saved in `build/setup_command`.