mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-17 20:06:52 +01:00
Add ENABLE_SAMPLES
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
This commit is contained in:
parent
896341d7a4
commit
609072a5ad
@ -82,7 +82,10 @@ option(ENABLE_REDIS "Enable Redis" ON)
|
||||
option(FORCE_OPENSSL "Force usage of OpenSSL even under windows" OFF)
|
||||
|
||||
option(ENABLE_TESTS
|
||||
"Set to OFF|ON (default is OFF) to control build of POCO tests & samples" OFF)
|
||||
"Set to OFF|ON (default is OFF) to control build of POCO tests" OFF)
|
||||
|
||||
option(ENABLE_SAMPLES
|
||||
"Set to OFF|ON (default is OFF) to control build of POCO samples" OFF)
|
||||
|
||||
option(POCO_STATIC
|
||||
"Set to OFF|ON (default is OFF) to control build of POCO as STATIC library" OFF)
|
||||
@ -112,9 +115,15 @@ endif(POCO_STATIC)
|
||||
if (ENABLE_TESTS)
|
||||
include(CTest)
|
||||
enable_testing()
|
||||
message(STATUS "Building with unittests & samples")
|
||||
message(STATUS "Building with unittests")
|
||||
else ()
|
||||
message(STATUS "Building without tests & samples")
|
||||
message(STATUS "Building without tests")
|
||||
endif ()
|
||||
|
||||
if (ENABLE_SAMPLES)
|
||||
message(STATUS "Building with samples")
|
||||
else ()
|
||||
message(STATUS "Building without samples")
|
||||
endif ()
|
||||
|
||||
if (POCO_UNBUNDLED)
|
||||
|
Loading…
Reference in New Issue
Block a user