# enumerating and keeping up to date the list of sources

**URL:** https://discourse.cmake.org/t/enumerating-and-keeping-up-to-date-the-list-of-sources/2900
**Category:** Usage
**Created:** [March 5, 2021, 5:25pm UTC](https://discourse.cmake.org/t/enumerating-and-keeping-up-to-date-the-list-of-sources/2900 "2021-03-05T17:25:31Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.cmake.org/u/ben.boeckel)
#### Post date: [March 5, 2021, 9:59pm UTC](https://discourse.cmake.org/t/enumerating-and-keeping-up-to-date-the-list-of-sources/2900/2 "2021-03-05T21:59:59Z")

</div>

The correct solution is just to explicitly list your source files. This way you know exactly what is in a given build.

See [this thread](https://discourse.cmake.org/t/is-glob-still-considered-harmful-with-configure-depends/808) for more.

---

_[View the full topic](https://discourse.cmake.org/t/enumerating-and-keeping-up-to-date-the-list-of-sources/2900)._
