Change modules settings#15608
Conversation
|
Please also add an ability to override |
|
Please resolve the merge conflict |
|
|
| # Use flag --cmake option="-D...=ON" only for one argument, if you would add more changes write new cmake_option flags | ||
| parser.add_argument('--cmake_option', action='append', help="Append CMake options") | ||
| # Use flag --build_flags="-s USE_PTHREADS=0 -Os" for one and more arguments as in the example | ||
| parser.add_argument('--build_flags', help="Append Emscripten build options") | ||
| parser.add_argument('--build_wasm_intrin_test', default=False, action="store_true", help="Build WASM intrin tests") | ||
| # Write a path to modify file like argument of this flag | ||
| parser.add_argument('--config', default=os.path.join(os.path.dirname(os.path.abspath(__file__)), 'opencv_js.config.py'), | ||
| help="Specify configuration file with own list of exported into JS functions") | ||
|
|
There was a problem hiding this comment.
Please take a look at https://pullrequest.opencv.org/buildbot/builders/precommit_docs/builds/22427/steps/whitespace%20opencv/logs/stdio and remove trailing whitespaces at lines 229 and 235
There was a problem hiding this comment.
And after that, enable hook on your machine to avoid this in the future: https://github.com/opencv/opencv/wiki/How_to_contribute#the-instruction-in-brief step 5
This pullrequest changes
WIP
Add opportunity to change modules flags in command line