More CMake cleanup, esp with build/target options and branching

This commit is contained in:
NaifBanana
2025-12-27 22:49:02 -06:00
parent 4ac700e481
commit 0bb5bff559
2 changed files with 30 additions and 7 deletions
+3 -1
View File
@@ -4,4 +4,6 @@ add_library(NBCore
./src/Errors.cpp
)
add_subdirectory(./tests)
if (NB_BUILD_TESTS)
add_subdirectory(./tests)
endif()