Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
ndk-platform-external-effcee
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
android
ndk-platform-external-effcee
Commits
90466a4e
Commit
90466a4e
authored
7 years ago
by
David Neto
Browse files
Options
Downloads
Patches
Plain Diff
Move ::testing::Combine workaround to top
The fix must be visible to compilation in the effcee/ tree as well.
parent
847773f3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+6
-0
6 additions, 0 deletions
CMakeLists.txt
third_party/CMakeLists.txt
+0
-5
0 additions, 5 deletions
third_party/CMakeLists.txt
with
6 additions
and
5 deletions
CMakeLists.txt
+
6
−
0
View file @
90466a4e
...
...
@@ -5,6 +5,12 @@ enable_testing()
option
(
EFFCEE_BUILD_TESTING
"Enable testing for Effcee"
ON
)
if
(
${
EFFCEE_BUILD_TESTING
}
)
message
(
STATUS
"Configuring Effcee to build tests."
)
if
(
MSVC
)
# Our tests use ::testing::Combine. Force the ability to use it, working
# around googletest's possibly faulty compiler detection logic.
# See https://github.com/google/googletest/issues/1352
add_definitions
(
-DGTEST_HAS_COMBINE=1
)
endif
(
MSVC
)
else
()
message
(
STATUS
"Configuring Effcee to avoid building tests."
)
endif
()
...
...
This diff is collapsed.
Click to expand it.
third_party/CMakeLists.txt
+
0
−
5
View file @
90466a4e
...
...
@@ -24,11 +24,6 @@ endif()
# Configure third party projects.
if
(
EFFCEE_BUILD_TESTING
)
# Our tests use ::testing::Combine. Force the ability to use it, working
# around googletest's possibly faulty compiler detection logic.
# See https://github.com/google/googletest/issues/1352
add_definitions
(
-DGTEST_HAS_COMBINE=1
)
if
(
NOT TARGET gmock
)
if
(
IS_DIRECTORY
${
EFFCEE_GOOGLETEST_DIR
}
)
add_subdirectory
(
${
EFFCEE_GOOGLETEST_DIR
}
googletest
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment