| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
The source globs were evaluated only when CMake configured the build tree, so an existing tree did not see a newly added .cpp or .pyx file until it was reconfigured. With CONFIGURE_DEPENDS the build re-checks the globs and re-runs CMake when the list of files changed.
|
Looks good. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
The CMake globs that collect source files are evaluated only when CMake configures the build tree. An existing tree, such as the one tools/build.py keeps in build/_cmake_build_py, does not see a .cpp or .pyx file added later until it is reconfigured (tools/build.py --clean):
This adds CONFIGURE_DEPENDS to those globs, so each build checks them and re-runs CMake when a file was added or removed:
The globs that look for CEF binary directories are unchanged. CONFIGURE_DEPENDS needs CMake 3.12; the project requires 3.21. Existing trees need nothing: the edited CMakeLists.txt files make the next build re-run CMake.