Fix CMake build/tests
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- cmake, cpp
- Domain
- build-system, testing
Research direction
Inspect build/CMakeLists.txt, the root CMakeLists.txt, and test/CMakeLists.txt, then compare them with the linked WIP branch. Read the BoostTest Module referenced in the issue and determine how the test definitions should use it. Done means a single CMake configuration can build the library and its tests successfully.
Written by the indexing model from the issue text.
Description
I tried creating and running a CMake build via the build/CMakeLists.txt and also by adding an include_subdirectory(test) to the root CMakeLists.txt and both are not able to build the project.
I would strongly suggest to remove the build/CMakeLists.txt and have only a single (the root) file to build the library. As part of the overall effort to add CMake support to Boost, the test/CMakeLists.txt can then focus on defining tests and make use of the `BoostTest Module instead of trying to come up with a custom solution.
My WIP branch is at https://github.com/Flamefire/test/tree/cmake Currently I tried to support both CMakeLists but that is not feasible.
- Dominant language
- C++
- Stars
- 213
- Forks
- 149
- Avg merge
- 18h 17m
- Merged PRs (30d)
- 2
Contributor guide
No contributing guide indexed for this repository
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.
More from boostorg/test
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
-
Difficulty 3/5 1-2 days Newbie friendliness 52/100
-
Conversion Warning with GCC15 when using operator<< within custom failure message and -WConversion Open
Difficulty 4/5 3-5 days Newbie friendliness 42/100
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
AXERA-TECH/ax-llm#77 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
games-on-whales/wolf#509 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
bug-unconfirmed
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
NVIDIA/cuda-samples#453 ·