Skip to content

Commit

Permalink
print user options for cmake at start of run
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveBronder committed Nov 21, 2024
1 parent 79d7b2a commit b9b9208
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,16 @@ if(POLICY CMP0069)
cmake_policy(SET CMP0069 NEW)
endif()

# Print all selected user options
message(STATUS "Stan Math Library Configuration:")
message(STATUS " Build Documentation: ${STAN_BUILD_DOCS}")
message(STATUS " Test Headers: ${STAN_TEST_HEADERS}")
message(STATUS " Disable Range Checks: ${STAN_NO_RANGE_CHECKS}")
message(STATUS " Enable MPI: ${STAN_MPI}")
message(STATUS " Enable OpenCL: ${STAN_OPENCL}")
message(STATUS " Enable Threads: ${STAN_THREADS}")


# Set compiler flags
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-Wno-deprecated-declarations)
Expand Down

0 comments on commit b9b9208

Please sign in to comment.