Introduces gtest_force_shared_crt option for CMake build scripts.

This commit is contained in:
vladlosev
2010-05-18 21:08:05 +00:00
parent 55d166a222
commit c828e17175
2 changed files with 8 additions and 1 deletions

View File

@@ -12,6 +12,13 @@
# make it prominent in the GUI.
option(BUILD_SHARED_LIBS "Build shared libraries (DLLs)." OFF)
# When other libraries are using a shared version of runtime libraries,
# Google Test also has to use one.
option(
gtest_force_shared_crt
"Use shared (DLL) run-time lib even when Google Test is built as static lib."
OFF)
option(gtest_build_tests "Build all of gtest's own tests." OFF)
option(gtest_build_samples "Build gtest's sample programs." OFF)