Skip to content

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
@SpaceIm SpaceIm force-pushed the cmake-avoid-glob-recurse branch from 427afb1 to 66dd438 Compare January 29, 2022 03:28
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