HomePhabricator

[Cmake] Use CMAKE_PROJECT_NAME in src/config/CMakeLists.txt

Description

[Cmake] Use CMAKE_PROJECT_NAME in src/config/CMakeLists.txt

Summary:
If someone wants to rename the project, they'd also need to change these variables.

Instead, we fix this by using CMAKE_PROJECT_NAME when building the config header.

Test Plan: ninja check && ninja check-functional

Reviewers: Fabien, #bitcoin_abc

Reviewed By: Fabien, #bitcoin_abc

Differential Revision: https://reviews.bitcoinabc.org/D17178

Details

Provenance
tobias_ruckAuthored on Nov 21 2024, 13:40
tobias_ruckPushed on Nov 21 2024, 17:10
Reviewer
Restricted Project
Differential Revision
D17178: [Cmake] Use CMAKE_PROJECT_NAME in src/config/CMakeLists.txt
Parents
rABC078a6c85e1e9: [avalanche] Cleanup redundant check for avalanche processor
Branches
Unknown
Tags
Unknown