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

Use FetchContent() for googletest #1310

Merged
merged 3 commits into from
May 27, 2019

Conversation

havogt
Copy link
Contributor

@havogt havogt commented May 23, 2019

Use FetchContent to make googletest available.

@havogt
Copy link
Contributor Author

havogt commented May 23, 2019

launch strgrid

@havogt
Copy link
Contributor Author

havogt commented May 23, 2019

launch icgrid

@havogt
Copy link
Contributor Author

havogt commented May 23, 2019

TODO: run perftest and mpi test if the other checks passed

@havogt
Copy link
Contributor Author

havogt commented May 24, 2019

launch perftest

@havogt
Copy link
Contributor Author

havogt commented May 24, 2019

launch mpistrgrid

@havogt havogt requested a review from lukasm91 May 24, 2019 04:47
cmake/testing.cmake Show resolved Hide resolved
option(INSTALL_GTEST OFF)
add_subdirectory(./tools/googletest)
mark_as_advanced(INSTALL_GTEST)
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe you can add a TODO or make it even an explicit workaround before 3.13: INSTALL_GTEST doesn't need to be a cached variable when CMake >= 3.13:

https://cmake.org/cmake/help/v3.13/command/option.html

cmake/testing.cmake Outdated Show resolved Hide resolved
@havogt havogt requested a review from lukasm91 May 24, 2019 07:51
@havogt havogt merged commit acdeb59 into GridTools:master May 27, 2019
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.

2 participants