Reduce redundant code between CMakeLists.txt and dist/CMakeLists.txt
Open
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 108
- Forks
- 37
- PR merge metrics
- No merged PRs in 30d
Description
The CMakeLists.txt and dist/CMakeLists.txt share a lot of redundant code. This could be refactored to move common bits that could be included by both.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Compare CMakeLists.txt and dist/CMakeLists.txt to identify the duplicated configuration and determine what can be shared. Check the repository's CMake entry points and build instructions before testing both configurations. Done means common logic is centralized without changing either build's behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake
- Domain
- build-system
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100