And disable it by default. The check-source-control-tools would fail
on systems where bash in not installed. With this diff cmake errors
out with a meaningful message if unavailable.
Details
Details
- Reviewers
deadalnix jasonbcox - Group Reviewers
Restricted Project - Commits
- rSTAGING72112752781a: [CMAKE] Make the source control tools inclusion an option
rABC72112752781a: [CMAKE] Make the source control tools inclusion an option
sed -i 's/bash/trash/g' ../contrib/source-control-tools/CMakeLists.txt
Should work:
cmake -GNinja ..
Should fail:
rm -rf * && cmake -GNinja .. -DBUILD_SOURCE_CONTROL_TOOLS=ON sed -i 's/trash/bash/g' ../contrib/source-control-tools/CMakeLists.txt
Should Work:
rm -rf * && cmake -GNinja .. -DBUILD_SOURCE_CONTROL_TOOLS=ON ninja check-source-control-tools
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- cmake_option_source_control_tools
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 8424 Build 14863: Default Diff Build & Tests Build 14862: arc lint + arc unit