update --cmake-options example; fixes #169
This commit is contained in:
parent
8edce7af96
commit
ea962bf074
@ -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`.
|
||||
|
Loading…
x
Reference in New Issue
Block a user