Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ endif(NOT CMAKE_BUILD_TYPE)
set(ENABLE_SHARED YES CACHE BOOL "Whether to build a shared library")
set(ENABLE_SHARED_EXECUTABLES NO CACHE BOOL
"Whether to link executables using shared libraries")
set(BUILD_TESTING YES CACHE BOOL "Whether to build and run tests")
set(ENABLE_SHARED_TESTS NO CACHE BOOL
"Whether to link test cases using shared libraries")
set(ENABLE_STATIC YES CACHE BOOL "Whether to build a static library")
Expand Down Expand Up @@ -110,5 +111,7 @@ set(PTHREAD_LIBS "${CMAKE_THREAD_LIBS_INIT}")
add_subdirectory(include)
add_subdirectory(share)
add_subdirectory(src)
add_subdirectory(tests)
if(BUILD_TESTING)
add_subdirectory(tests)
endif(BUILD_TESTING)
add_subdirectory(docs/old)