OpenCores
URL https://opencores.org/ocsvn/s80186/s80186/trunk

Subversion Repositories s80186

[/] [s80186/] [trunk/] [vendor/] [googletest/] [CMakeLists.txt] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 jamieiles
cmake_minimum_required(VERSION 2.6.2)
2
 
3
project( googletest-distribution )
4
 
5
enable_testing()
6
 
7
option(BUILD_GTEST "Builds the googletest subproject" OFF)
8
 
9
#Note that googlemock target already builds googletest
10
option(BUILD_GMOCK "Builds the googlemock subproject" ON)
11
 
12
if(BUILD_GMOCK)
13
  add_subdirectory( googlemock )
14
elseif(BUILD_GTEST)
15
  add_subdirectory( googletest )
16
endif()

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.