Page MenuHomePhabricator

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

Authored by tobias_ruck on Thu, Nov 21, 13:36.

Details

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

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

we already have CMAKE_PROJECT_NAME, use that instead of making our own

tobias_ruck retitled this revision from [Cmake] Add ROOT_PROJECT_NAME, use in src/config/CMakeLists.txt to [Cmake] Use CMAKE_PROJECT_NAME in src/config/CMakeLists.txt.Thu, Nov 21, 13:47
tobias_ruck edited the summary of this revision. (Show Details)
This revision is now accepted and ready to land.Thu, Nov 21, 17:00