jeremy-rifkin / cpp-template

A C++ project template using CMake, Ninja, and Conan
MIT License
3 stars 0 forks source link

Test requirements improvements #2

Closed AbrilRBS closed 1 month ago

AbrilRBS commented 1 month ago

As per https://docs.conan.io/2/reference/conanfile/methods/build_requirements.html#test-requires, the lines in https://github.com/jeremy-rifkin/cpp-template/blob/7a728415fcf1ffb4317443f387a8900affd3af61/conanfile.py#L16 should be part of the build_requirements() method, and should be of the form self.test_requires("gtest/...")

jeremy-rifkin commented 1 month ago

Thanks! Fixed :)