|
|
@ -8,9 +8,9 @@ endif()
|
|
|
|
|
|
|
|
|
|
|
|
project(webcc)
|
|
|
|
project(webcc)
|
|
|
|
|
|
|
|
|
|
|
|
option(WEBCC_ENABLE_TEST "Build test?" ON)
|
|
|
|
option(WEBCC_ENABLE_AUTOTEST "Build automation test?" OFF)
|
|
|
|
option(WEBCC_ENABLE_UNITTEST "Build unit test?" ON)
|
|
|
|
option(WEBCC_ENABLE_UNITTEST "Build unit test?" OFF)
|
|
|
|
option(WEBCC_ENABLE_EXAMPLES "Build examples?" ON)
|
|
|
|
option(WEBCC_ENABLE_EXAMPLES "Build examples?" OFF)
|
|
|
|
|
|
|
|
|
|
|
|
if(WIN32)
|
|
|
|
if(WIN32)
|
|
|
|
option(WEBCC_ENABLE_VLD "Enable VLD (Visual Leak Detector)?" OFF)
|
|
|
|
option(WEBCC_ENABLE_VLD "Enable VLD (Visual Leak Detector)?" OFF)
|
|
|
@ -139,8 +139,8 @@ if(WEBCC_ENABLE_EXAMPLES)
|
|
|
|
add_subdirectory(examples)
|
|
|
|
add_subdirectory(examples)
|
|
|
|
endif()
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
|
|
if(WEBCC_ENABLE_TEST)
|
|
|
|
if(WEBCC_ENABLE_AUTOTEST)
|
|
|
|
add_subdirectory(test)
|
|
|
|
add_subdirectory(autotest)
|
|
|
|
endif()
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
|
|
if(WEBCC_ENABLE_UNITTEST)
|
|
|
|
if(WEBCC_ENABLE_UNITTEST)
|
|
|
|