From 024fb244efb6428d9649f69cff2fb6c8261f5b28 Mon Sep 17 00:00:00 2001 From: Klaas Freitag Date: Tue, 5 Jun 2012 17:09:42 +0200 Subject: [PATCH] Add a switch LOG_TO_CALLBACK for cmake to enable callback logging. --- DefineOptions.cmake | 1 + config.h.cmake | 1 + 2 files changed, 2 insertions(+) diff --git a/DefineOptions.cmake b/DefineOptions.cmake index f06a5aea45..dcd67e4f1b 100644 --- a/DefineOptions.cmake +++ b/DefineOptions.cmake @@ -1,3 +1,4 @@ option(WITH_LOG4C "Build csync without log4c" ON) option(UNIT_TESTING "Build with unit tests" OFF) option(MEM_NULL_TESTS "Enable NULL memory testing" OFF) +option(LOG_TO_CALLBACK "Enable extended logging through a callback" OFF) diff --git a/config.h.cmake b/config.h.cmake index e4fd944abf..b2da0acc68 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -16,3 +16,4 @@ #cmakedefine HAVE_LSTAT 1 #cmakedefine HAVE_FNMATCH 1 +#cmakedefine LOG_TO_CALLBACK