Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Hsilgos opened this issue Aug 10, 2021 · 0 comments
Labels

Comments

@Hsilgos
Copy link
Contributor

Hsilgos commented Aug 10, 2021

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 Hsilgos added the cmake label Aug 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant