CMakeLists.txt files consistency

Open Beginner friendly
#1,148 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
72/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Quiet
Tech stack
cmake, cpp
Domain
build-system

Research direction

Start with the CMakeLists.txt files in the math and mp11 libraries and compare their project version declarations with the pattern used by other Boost libraries. Check whether either literal version is intentional; done means documenting the reason or making the two declarations consistent with the shared super-project version pattern.

Written by the indexing model from the issue text.

Description

Both the math CMakeLists.txt and mp11 CMakeLists.txt contain the super project version as a literal like:
project(boost_mp11 VERSION 1.92.0 LANGUAGES CXX)
while all other libs do it like:
project(boost_accumulators VERSION "${BOOST_SUPERPROJECT_VERSION}" LANGUAGES CXX)

Any particular reason why those 2 libs deviate from the general pattern ?
Otherwise there is a small improvement in the consistency of the CMakeLists.txt files to make.

Dominant language
HTML
Stars
8.6k
Forks
1.9k
Avg merge
39m
Merged PRs (30d)
2

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from boostorg/boost

All issues in boostorg/boost

Similar issues

More Build System issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.