Indigo
Indigo copied to clipboard
Trouble building individual Indigo/Bingo targets
It seems that for both Indigo and Bingo the build process is all or nothing.
I had trouble building a subset of targets and from inspecting CMakelists.txt I noticed that as per line 45, if BUILD_INDIGO_WRAPPERS is ON then all sub-targets, namely BUILD_INDIGO_WRAPPERS_PYTHON, BUILD_INDIGO_WRAPPERS_JAVA, BUILD_INDIGO_WRAPPERS_DOTNET are turned on. Similarly by line 51, if BUILD_INDIGO_WRAPPERS is OFF then all sub-targets are disabled. Thus, as far as I can tell, it is impossible to build only BUILD_INDIGO_WRAPPERS_PYTHON, for example as BUILD_INDIGO_WRAPPERS will override any and all individual options.
The same is true of Bingo due to BUILD_BINGO and lines 59 and 64, respectively.
If I delete line 45-69 then the building of individual targets works as expected (with loss of functionality of BUILD_INDIGO_WRAPPERS and BUILD_BINGO ).
Is this by design?