-
This is a combination of 2 commits. Also use context manager to read file [cmake] Use conf file to say what to compile Instead of hardcoding `-D COMPILE_XXX=1` arguments to cmake, which adds duplication with `config.inc` file. Thus `config.inc` becomes the only trusted configuration source. We then disable SPS_IMAGE by default on Windows since it does not compile on this platform and enable BASLER. Note that we keep hardcoded `-D COMPILE_SIP=1` because we always want to compile Python modules.
758fa4dd