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

Avoid GLOB_RECURSE in CMakeLists #561

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

SpaceIm
Copy link
Contributor

@SpaceIm SpaceIm commented Jan 29, 2022

I really had a hard-time on Windows while rebuilding specific targets to fix issues in #461, even with Ninja and a good SSD. I mean, waiting 15s each time is not very convenient.

Here are some reason to not use glob:

  • glog with CONFIGURE_DEPENDS is not recommended since proper support is not guaranteed for all generators.
  • performance can be really awful depending on OS (Windows for example) or hardware.
  • all globs involved in a target are evaluated again for each rebuild of this target.

This change is Reviewable

- glog with CONFIGURE_DEPENDS is not recommended since proper support is not guaranteed for all generators
- performance can be really awful depending on OS (Windows for example) or hardware
- all globs are evaluated again for each rebuild of any target
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.

1 participant