Commit 758fa4dd authored by Committed by Sebastien Petitdemange
Rewrite config parser function to include cameras
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.
Showing with 95 additions and 25 deletions