From 79d7b2aef9739a7684e7c382637adc13699b6bfd Mon Sep 17 00:00:00 2001 From: Steve Bronder Date: Thu, 21 Nov 2024 16:34:53 -0500 Subject: [PATCH] update cmake and ctest --- CMakeLists.txt | 2 +- test/CMakeLists.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2fa06236bb5..c1105b94f08 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,7 +12,7 @@ set(CMAKE_VERBOSE_MAKEFILE YES) cmake_policy(SET CMP0069 NEW) # Configuration Options option(STAN_BUILD_DOCS "Build the Stan Math library documentation" OFF) -option(STAN_TEST_HEADERS "Build the targets for the header checks" OFF) +option(STAN_TEST_HEADERS "Build the targets for the header checks" ON) option(STAN_NO_RANGE_CHECKS "Disable range checks within the Stan library" OFF) option(STAN_MPI "Enable MPI support" OFF) option(STAN_OPENCL "Enable OpenCL support" OFF) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 94c92f943f6..0b551f92c3d 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -191,6 +191,7 @@ add_subdirectory(unit) message(STATUS "Building tests: DONE") if (STAN_TEST_HEADERS) +message(STATUS, "Building Test Headers") # Detect OS if(WIN32) set(DEV_NULL "NUL")