Bug#53593: Add some instrumentation to improve Valgrind sensitivity.

Implement WITH_VALGRIND for the CMake build.
This commit is contained in:
Vladislav Vaintroub 2010-06-21 13:39:30 +02:00
commit 97d36ef532
3 changed files with 13 additions and 2 deletions

View file

@ -115,6 +115,9 @@ OPTION(ENABLED_PROFILING "Enable profiling" ON)
OPTION(CYBOZU "" OFF)
OPTION(BACKUP_TEST "" OFF)
OPTION(WITHOUT_SERVER OFF)
IF(UNIX)
OPTION(WITH_VALGRIND "Valgrind instrumentation" OFF)
ENDIF()
OPTION (WITH_UNIT_TESTS "Compile MySQL with unit tests" ON)
MARK_AS_ADVANCED(CYBOZU BACKUP_TEST WITHOUT_SERVER DISABLE_SHARED)