You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
548 B
18 lines
548 B
cmake_minimum_required(VERSION 2.8.4) |
|
|
|
project(googletest-download NONE) |
|
|
|
include(ExternalProject) |
|
ExternalProject_Add(googletest |
|
URL https://github.com/google/googletest/archive/8b6d3f9c4a774bef3081195d422993323b6bb2e0.zip |
|
SOURCE_DIR "${CMAKE_CURRENT_BINARY_DIR}/googletest-src" |
|
BINARY_DIR "${CMAKE_CURRENT_BINARY_DIR}/googletest-build" |
|
CONFIGURE_COMMAND "" |
|
BUILD_COMMAND "" |
|
INSTALL_COMMAND "" |
|
TEST_COMMAND "" |
|
# Wrap download, configure and build steps in a script to log output |
|
LOG_DOWNLOAD ON |
|
LOG_CONFIGURE ON |
|
LOG_BUILD ON |
|
)
|
|
|