From c5dea2aef7e21685e9ebd4652e42b8736a4b2ecc Mon Sep 17 00:00:00 2001 From: David Andrs Date: Mon, 1 Apr 2024 08:54:02 -0600 Subject: [PATCH] Adding a cmake option for building tools --- CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 147618c..e3e9c75 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -22,6 +22,7 @@ endif() set_property(CACHE EXODUSIICPP_LIBRARY_TYPE PROPERTY STRINGS ${LibraryTypeValues}) option(EXODUSIICPP_BUILD_TESTS "Build tests" NO) +option(EXODUSIICPP_BUILD_TOOLS "Build tools" YES) find_package(fmt 8.0 REQUIRED) find_package(NetCDF 4.5 REQUIRED) @@ -52,7 +53,9 @@ if (EXODUSIICPP_BUILD_TESTS) endif() add_subdirectory(src) -add_subdirectory(tools) +if (EXODUSIICPP_BUILD_TOOLS) + add_subdirectory(tools) +endif() # Tests