"git@developer.sourcefind.cn:yangql/googletest.git" did not exist on "48ee8e98abc950abd8541e15550b18f8f6cfb3a9"
Commit 4a0b77ff authored by Fábio Junqueira's avatar Fábio Junqueira
Browse files

Create CMakeLists.txt

Adding functionality to build googletest from the root directory
parent 71a26ac6
cmake_minimum_required(VERSION 2.6.2)
project( googletest-distribution )
enable_testing()
option(BUILD_GTEST "Builds the googletest subproject" OFF)
#Note that googlemock target already builds googletest
option(BUILD_GMOCK "Builds the googlemock subproject" ON)
if(BUILD_GMOCK)
add_subdirectory( googlemock )
elseif(BUILD_GTEST)
add_subdirectory( googletest )
endif()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment