-
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or request
Milestone
Description
Currently hooks are run during the configure step.
This causes the following problems:
- it is conceptionally wrong
- hook artifacts are not rebuild after
clean - it wastes time during initial configuration (run four times via
CMakeDeterminateSystem.cmake,CMakeSystem.cmake,CMakeDeterminateCCompiler.cmake, andCMakeDeterminateCXXCompiler.cmake) - no idea how to run post hooks with that approach
Better plan: Setup custom commands that generate stamp files for each hook. These stamp files and all the build targets depend upon each other. Postlink hooks would be injected between the *.elf and the .bin target.
Ideally the script even runs CMake's GLOB_RECURSE after running hooks to properly update clean files.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or request