Skip to content

Add CMake interface library GTest::gtest_prod #4680

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

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.

@Hasan0971
Copy link

Good

mp-chet added 2 commits April 2, 2025 13:59
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.
@mp-chet mp-chet force-pushed the feature_gtest_prod_interface_library branch from 7145a34 to 1117dfe Compare April 2, 2025 11:59
@mp-chet
Copy link
Author

mp-chet commented Apr 2, 2025

Rebased to the latest main branch.

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