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

external/CMakeLists.txt: Only copy files if different to avoid unnecessary rebuilds #1009

Merged
merged 1 commit into from
Oct 6, 2021

Conversation

srcejon
Copy link
Collaborator

@srcejon srcejon commented Oct 5, 2021

This patch uses cmake's copy_if_different command so that header files that are copied by the script (such as limerfe.h) are only copied if they are different. This prevents make rebuilding a load of code unnecessarily, which improves build times.

@f4exb f4exb merged commit e3a3e44 into f4exb:master Oct 6, 2021
@srcejon srcejon deleted the cmake_copy_if_different branch October 26, 2021 20:38
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