Skip to content

Comments

Configure: Add check for non-existing C(++) source files in build.info#13738

Closed
DDvO wants to merge 1 commit intoopenssl:masterfrom
siemens:Configure_check_sources
Closed

Configure: Add check for non-existing C(++) source files in build.info#13738
DDvO wants to merge 1 commit intoopenssl:masterfrom
siemens:Configure_check_sources

Conversation

@DDvO
Copy link
Contributor

@DDvO DDvO commented Dec 25, 2020

This makes Configure fail in case a build.info file refers to non-existing source file,
which may happen by mistake for instance after renaming source files.

If such mistakes are not caught then make likely fails later with a (not always intelligible) build dependency error.

This may happen for instance after renaming source files
@DDvO DDvO force-pushed the Configure_check_sources branch from 3566b59 to b06e863 Compare December 25, 2020 18:14
@levitte
Copy link
Member

levitte commented Jan 10, 2021

I'd rather not have this sort of quick hackery in Configure. However, it's a good idea to check consistency a bit better. I've an alternative proposal, which checks all declared sources (including the generators themselves).

@DDvO
Copy link
Contributor Author

DDvO commented Jan 11, 2021

Closing this as superseded by #13824.
Thanks @levitte for taking this a number of steps further.

@DDvO DDvO closed this Jan 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants