static lib by default and tests

This commit is contained in:
gabime 2019-05-08 16:34:20 +03:00
parent 7b15a3d345
commit 576e389788

View File

@ -45,10 +45,10 @@ else()
set(SPDLOG_MASTER_PROJECT OFF)
endif()
option(SPDLOG_STATIC_LIB "Build as static lib" OFF)
option(SPDLOG_STATIC_LIB "Build as static lib" ONg)
option(SPDLOG_BUILD_EXAMPLES "Build examples" ${SPDLOG_MASTER_PROJECT})
option(SPDLOG_BUILD_BENCH "Build benchmarks (Requires https://github.com/google/benchmark.git to be installed)" OFF)
option(SPDLOG_BUILD_TESTS "Build tests" OFF)
option(SPDLOG_BUILD_TESTS "Build tests" ON)
option(SPDLOG_FMT_EXTERNAL "Use external fmt library instead of bundled" OFF)
option(SPDLOG_INSTALL "Generate the install target." ${SPDLOG_MASTER_PROJECT})