mirror of
https://github.com/zap-proto/cpp-core.git
synced 2026-10-30 15:06:00 +00:00
This fixes #1323 since enable_testing has to be in the top-level CMakeLists.txt file before any add_subdirectory call. Also use the inclusion of the CTest module instead of needing to declare the option manually. https://stackoverflow.com/questions/30250494/ctest-not-detecting-tests
6 lines
106 B
CMake
6 lines
106 B
CMake
cmake_minimum_required(VERSION 3.4)
|
|
project("Cap'n Proto Root" CXX)
|
|
include(CTest)
|
|
|
|
add_subdirectory(c++)
|