Homec4science

Added CMake configure-time download instructions to docs

Authored by Craig Scott <audiofanatic@gmail.com> on Dec 7 2015, 14:14.

Description

Added CMake configure-time download instructions to docs

Adds instructions for how to add gtest and gmock to
another CMake project directly. Downloading of the
googletest sources happens as configure time, allowing
it to be added to the main build directly via the
add_subdirectory() command. This ensures googletest is
built with the same compiler settings, etc. and will
typically result in a more robust and more convenient
build arrangement.

Details

Committed
Craig Scott <craig.scott@crascit.com>Dec 17 2016, 23:01
Pushed
trottetDec 4 2019, 13:52
Parents
R9484:a2b8a8e07628: Merge pull request #918 from DanAlbert/fix-android-GTEST_HAS_CLONE
Branches
Unknown
Tags
Unknown

Event Timeline

Craig Scott <craig.scott@crascit.com> committed R9484:cb502b7ad15c: Added CMake configure-time download instructions to docs (authored by Craig Scott <audiofanatic@gmail.com>).Dec 17 2016, 23:01