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 flag for tests building #94

Merged
merged 4 commits into from
Sep 27, 2018
Merged

Add flag for tests building #94

merged 4 commits into from
Sep 27, 2018

Conversation

l4l
Copy link
Contributor

@l4l l4l commented Jun 27, 2018

TESTING option can enable/disable builds of test so the project can be used as a library without redundant compilations
Also I've add find_package(GTest) line (maybe even delete cmake/external/googletest.cmake?), without it I cannot build:
No rule to make target 'external.googletest/lib/libgtest.a', needed by 'src/mutator_test'. Stop.

Signed-off-by: Kitsu <mail@kitsu.me>
CMakeLists.txt Outdated
include(googletest)
if (TESTING)
enable_testing()
find_package(GTest)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please remove find_package(GTest), it's unrelated to the patch
also this lib needs relatively new gtest, so installed version may not work

@vitalybuka
Copy link
Collaborator

Could you please rebase?
"This branch cannot be rebased due to conflicts"

@vitalybuka vitalybuka merged commit 652f387 into google:master Sep 27, 2018
@l4l l4l deleted the fix/conf_tests branch September 28, 2018 08:22
vitalybuka added a commit to vitalybuka/libprotobuf-mutator that referenced this pull request Oct 31, 2018
vitalybuka added a commit to vitalybuka/libprotobuf-mutator that referenced this pull request Oct 31, 2018
@vitalybuka vitalybuka mentioned this pull request Oct 31, 2018
vitalybuka added a commit that referenced this pull request Oct 31, 2018
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.

None yet

2 participants