The file needs to be always generated.
This requires the use of a custom_target (always out of date) rather
than a custom_command.
Details
Details
- Reviewers
deadalnix - Group Reviewers
Restricted Project - Commits
- rSTAGING6453c0073a74: [CMAKE] Always build obj/build.h
rABC6453c0073a74: [CMAKE] Always build obj/build.h
mkdir buildcmake && cd buildcmake cmake -GNinja .. ninja
Check the buildcmake/obj/build.h file content matches your current
commit hash.
Amend the commit message then run ninja again: the
buildcmake/obj/build.h should be updated accordingly.
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- cmake_build_h_always
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 7510 Build 13060: Bitcoin ABC Buildbot (legacy) Build 13059: arc lint + arc unit
Event Timeline
src/CMakeLists.txt | ||
---|---|---|
213 ↗ | (On Diff #12983) | BYPRODUCTS is not supported for setting dependencies if another generator than ninja is used. |