Add installation target#4
Conversation
|
Disclaimer: I used some outputs from chatgpt to prepare this. |
c953f38 to
63dd97a
Compare
This makes it easy to install the library with 'make install', including the CMake config files for discovery.
63dd97a to
816b1db
Compare
|
About the 1.2 version, it's because I wanted some version that was never used; and in git there's a v1.1 tagged |
Wow, I forgot about it. |
This modernizes how GoogleTest is discovered and used, and integrates the test suite with CTest.
|
I've pushed a commit that changed a few things w.r.t. to how gtest is discovered/used. I think perhaps linking to it as private will fix your problem? |
|
Well, now I can't build it on Windows without prebuilt gtest |
|
I've made an alternative branch based on yours: #5 |
|
Done in #5 |

This adds an installation target along CMake configuration files for discovery.
The result looks like this on my Guix System: