Lines Matching full:googletest
1 # Downloads and unpacks googletest at configure time. Based on the instructions
2 # at https://github.com/google/googletest/tree/master/googletest#incorporating-into-an-existing-cma…
4 # Download the latest googletest from Github master
7 ${CMAKE_BINARY_DIR}/googletest-download/CMakeLists.txt
17 # Configure and build the downloaded googletest source
20 WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/googletest-download )
22 message(FATAL_ERROR "CMake step for googletest failed: ${result}")
27 WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/googletest-download)
29 message(FATAL_ERROR "Build step for googletest failed: ${result}")
38 # Add googletest directly to our build. This defines the gtest and gtest_main
40 add_subdirectory(${CMAKE_BINARY_DIR}/googletest-src
41 ${CMAKE_BINARY_DIR}/googletest-build