cucumber / cucumber-cpp

Support for writing Cucumber step definitions in C++
MIT License
306 stars 131 forks source link

Add support for latest GoogleTest and Boost #249

Closed canmor closed 2 years ago

canmor commented 2 years ago

Add support for latest GoogleTest and Boost

Details

Motivation and Context

How Has This Been Tested?

test with GoogleTest v1.8, v1.8.1, v1.10, v1.11, on macOS, with Clang v12 test with Boost v1.76.0

Types of changes

Checklist:

jermus67 commented 2 years ago

Oh! wait! How did I miss this?! It's already hanging around for more than a couple of months... This is nice :) I'll test this feature branch, as the checks do not work as expected right now. We still need someone (me? but I'm quite busy, so busy that I didn't look at this place for some time) proficient in setting up CI to make that work again.

jermus67 commented 2 years ago

Tested with Boost (1.71.1, as that is the newest version for my system) and with (downloaded) google test (1.11.0). Both build and work as expected in my environment. ... It builds on the machine the PR has been made on, it builds when downloaded in a relatively recent other environment (mine). I think that given the current state of the CI this is the best we can get regarding checks for now ...

Thanks for sorting out how to get the newer GoogleTest and Boost into the CMake configuration (while retaining backwards compatibility so that cucumber-cpp still builds with older versions of those libraries). Nice bit of work!

aslakhellesoy commented 2 years ago

Hi @canmor,

Thanks for your making your first contribution to Cucumber, and welcome to the Cucumber committers team! You can now push directly to this repo and all other repos under the cucumber organization! 🍾

In return for this generous offer we hope you will:

On behalf of the Cucumber core team, Aslak Hellesøy Creator of Cucumber