Skip to content

fix(Makefile): use PROJECT_NAME and keep coverage output in build dir#53

Open
DehanLUO wants to merge 1 commit intofilipdutescu:masterfrom
DehanLUO:fix/makefile
Open

fix(Makefile): use PROJECT_NAME and keep coverage output in build dir#53
DehanLUO wants to merge 1 commit intofilipdutescu:masterfrom
DehanLUO:fix/makefile

Conversation

@DehanLUO
Copy link
Contributor

@DehanLUO DehanLUO commented Jan 1, 2026

  • Fix issue#52
    • Introduce PROJECT_NAME := Project to avoid hardcoding project name in CMake options
    • Replace hardcoded names like modern-cpp-template_ENABLE_... with $(PROJECT_NAME)ENABLE...
    • run gcov inside the build/ directory so .gcov files are not spilled into the project root
  • Fix issue#19

Improves maintainability and keeps generated files isolated in the build directory.

- Introduce PROJECT_NAME := Project to avoid hardcoding project name in CMake options
- Replace hardcoded names like modern-cpp-template_ENABLE_... with $(PROJECT_NAME)_ENABLE_...
- run gcov inside the build/ directory so .gcov files are not spilled into the project root
- Fix issue#39

Improves maintainability and keeps generated files isolated in the build directory.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant