This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Assuming this your tests/CMakeLists.txt (and your libs are setup in a root config) | |
# Just make sure to include(CTest) in your *root* cmake config. | |
# 3.9 adds support for "GoogleTest" which enumerates the tests inside | |
# of the code and adds them to ctest. | |
cmake_minimum_required(VERSION 3.9) | |
# Configure google-test as a downloadable library. | |
include(External_GTest.cmake) |