Using GLOB is slow and considered bad practice. From https://cmake.org/cmake/help/latest/command/file.html: > We do not recommend using GLOB to collect a list of source files from > your source tree. If no CMakeLists.txt file changes when a source is > added or removed then the generated build system cannot know when to ask > CMake to regenerate. The CONFIGURE_DEPENDS flag may not work reliably on > all generators, or if a new generator is added in the future that cannot > support it, projects using it will be stuck. Even if CONFIGURE_DEPENDS > works reliably, there is still a cost to perform the check on every > rebuild.
| Name |
Last commit
|
Last update |
|---|---|---|
| .circleci | Loading commit data... | |
| .github | Loading commit data... | |
| benchmarks | Loading commit data... | |
| cmake | Loading commit data... | |
| doc | Loading commit data... | |
| include/nlohmann | Loading commit data... | |
| single_include/nlohmann | Loading commit data... | |
| test | Loading commit data... | |
| third_party | Loading commit data... | |
| .clang-tidy | Loading commit data... | |
| .doozer.json | Loading commit data... | |
| .gitignore | Loading commit data... | |
| .travis.yml | Loading commit data... | |
| CMakeLists.txt | Loading commit data... | |
| CODE_OF_CONDUCT.md | Loading commit data... | |
| ChangeLog.md | Loading commit data... | |
| LICENSE.MIT | Loading commit data... | |
| Makefile | Loading commit data... | |
| README.md | Loading commit data... | |
| appveyor.yml | Loading commit data... | |
| meson.build | Loading commit data... | |
| nlohmann_json.natvis | Loading commit data... |