From 758b29aec4c2a76bd85f521ba652ceedd11313f1 Mon Sep 17 00:00:00 2001 From: Konstantin Varlamov Date: Mon, 23 Apr 2018 14:11:27 -0400 Subject: Firestore Travis: add test runs using sanitizers (#1128) Also move most of `before_install` actions from Travis config into scripts to reduce duplication. --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 15b68b5..04d4c99 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -17,6 +17,10 @@ cmake_minimum_required(VERSION 2.8.11) project(firebase C CXX) +option(WITH_ASAN "Build with Address Sanitizer" OFF) +option(WITH_TSAN "Build with Thread Sanitizer (mutually exculsive with other sanitizers)" OFF) +option(WITH_UBSAN "Build with Undefined Behavior sanitizer" OFF) + # If no build type is specified, make it a debug build if(NOT CMAKE_BUILD_TYPE) set(CMAKE_BUILD_TYPE Debug) -- cgit v1.2.3