Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CMake interface library GTest::gtest_prod #4680

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

mp-chet
Copy link

@mp-chet mp-chet commented Dec 12, 2024

Production code that contains #include <gtest/gtest_prod.h> should link against this interface library: it sets the correct include path for the compiler but does not instruct the linker to pull in any GoogleTest library code.

Fixes #4673.

Production code that contains `#include <gtest/gtest_prod.h>` should
link against this interface library: it sets the correct include path
for the compiler but does not instruct the linker to pull in any
GoogleTest library code.
@Hasan0971
Copy link

Good

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FR]: Export a header-only library GTest::gtest_prod via CMake
2 participants