|
|
@ -12,6 +12,9 @@ add_subdirectory(tthread)
|
|
|
|
option(JSONCPP_WITH_TESTS "Compile and (for jsoncpp_check) run JsonCpp test executables" OFF)
|
|
|
|
option(JSONCPP_WITH_TESTS "Compile and (for jsoncpp_check) run JsonCpp test executables" OFF)
|
|
|
|
option(JSONCPP_WITH_POST_BUILD_UNITTEST "Automatically run unit-tests as a post build step" OFF)
|
|
|
|
option(JSONCPP_WITH_POST_BUILD_UNITTEST "Automatically run unit-tests as a post build step" OFF)
|
|
|
|
add_subdirectory(jsoncpp-sub EXCLUDE_FROM_ALL)
|
|
|
|
add_subdirectory(jsoncpp-sub EXCLUDE_FROM_ALL)
|
|
|
|
|
|
|
|
if(UNIX)
|
|
|
|
|
|
|
|
set_target_properties(jsoncpp_lib_static PROPERTIES COMPILE_FLAGS "-Wno-deprecated-declarations")
|
|
|
|
|
|
|
|
endif()
|
|
|
|
# build clsocket static and only as a dependency. Setting those options here overrides its own default settings.
|
|
|
|
# build clsocket static and only as a dependency. Setting those options here overrides its own default settings.
|
|
|
|
option(CLSOCKET_SHARED "Build clsocket lib as shared." OFF)
|
|
|
|
option(CLSOCKET_SHARED "Build clsocket lib as shared." OFF)
|
|
|
|
option(CLSOCKET_DEP_ONLY "Build for use inside other CMake projects as dependency." ON)
|
|
|
|
option(CLSOCKET_DEP_ONLY "Build for use inside other CMake projects as dependency." ON)
|
|
|
|