1 # Use C++ for Testing |
1 cmake_minimum_required(VERSION 3.14) |
|
2 project(ucxtest VERSION 3.0 DESCRIPTION "UAP Common Extensions - Tests") |
|
3 |
|
4 # Configuration |
|
5 cmake_policy(SET CMP0077 NEW) |
2 set(CMAKE_CXX_STANDARD 17) |
6 set(CMAKE_CXX_STANDARD 17) |
|
7 enable_testing() |
3 |
8 |
4 # Load Google Test Framework |
9 # Load Google Test Framework |
5 option(INSTALL_GTEST "By default googletest shall not be installed." OFF) |
10 option(INSTALL_GTEST "By default googletest shall not be installed." OFF) |
6 option(BUILD_GMOCK "In this project we do not need gmock." OFF) |
11 option(BUILD_GMOCK "In this project we do not need gmock." OFF) |
7 include(FetchContent) |
12 include(FetchContent) |