epam / epam/Indigo

Trouble building individual Indigo/Bingo targets

Open
#829 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
406
Forks
134
Avg merge
2d 11h
Merged PRs (30d)
24

Description

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?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.