gluecodium icon indicating copy to clipboard operation
gluecodium copied to clipboard

Detect situation when dependent module doesn't provide the same options as dependency

Open Hsilgos opened this issue 3 years ago • 0 comments

Currently many options must be aligned to generate compilable code when few few modules depend (in lime files) on each other. It leads sometimes to hardly understandable issues with generated code. To prevent such situations some logic to analyse dependencies must be added in cmake scripts. When such important options are not aligned the error must be generated. Most probably such error must be shown during the generation (in runGenerate.cmake). Example of such options which must be aligned all over modules:

GLUECODIUM_VERSION
GLUECODIUM_<LANG>_NAMERULES

Important: GLUECODIUM_TAGS should include the same tags as dependencies, but not necessary aligned. Perhaps this specific option may silently add tags from dependencies.

Hsilgos avatar Aug 10 '21 08:08 Hsilgos