From 15cad65be1a9b9dbefd3d66245c802acf8e46e74 Mon Sep 17 00:00:00 2001 From: Ben Howe <141149032+bmhowe23@users.noreply.github.com> Date: Tue, 7 Jan 2025 14:33:56 -0800 Subject: [PATCH] Update build defaults to support typical dev needs (#43) --- CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b3428ed..56be91c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,7 +16,7 @@ project(CUDAQX LANGUAGES C CXX) set(CUDAQX_ALL_LIBS "qec;solvers") -set(CUDAQX_ENABLE_LIBS "" CACHE STRING +set(CUDAQX_ENABLE_LIBS "all" CACHE STRING "Semicolon-separated list of libs to build (${CUDAQX_ALL_LIBS}), or \"all\".") # We don't want to handle "all" later, thus expand it here. @@ -45,9 +45,9 @@ include(CUDA-QX) # Options # ============================================================================== -option(CUDAQX_INCLUDE_TESTS "Generate build targets for unit tests." OFF) -option(CUDAQX_INCLUDE_DOCS "Generate build targets for the docs." OFF) -option(CUDAQX_BINDINGS_PYTHON "Generate build targets for python bindings." OFF) +option(CUDAQX_INCLUDE_TESTS "Generate build targets for unit tests." ON) +option(CUDAQX_INCLUDE_DOCS "Generate build targets for the docs." ON) +option(CUDAQX_BINDINGS_PYTHON "Generate build targets for python bindings." ON) # Top-level External Dependencies # ==============================================================================