
# Google test
if(BUILD_TESTS AND NOT TARGET gmock)
	if(WIN32)
		set(gtest_force_shared_crt ON)
	endif()
	set(BUILD_GTEST ON)
	add_subdirectory(googletest)
endif()

# docopt.cpp
if(BUILD_APPS AND HAVE_DOCOPT)
	add_subdirectory(docopt.cpp)
endif()



# Google test
if(BUILD_TESTS AND NOT TARGET gmock)
	if(WIN32)
		set(gtest_force_shared_crt OFF)
	endif()
	set(BUILD_GTEST ON)
	add_subdirectory(googletest)
endif()

# docopt.cpp
if(BUILD_APPS AND HAVE_DOCOPT)
	add_subdirectory(docopt.cpp)
endif()


Use static Google Test libs.
Use static Google Test libs.
