From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 8B3832D9C3 for ; Fri, 6 Apr 2018 07:09:06 -0400 (EDT) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id t4-i7cGDGYQ4 for ; Fri, 6 Apr 2018 07:09:06 -0400 (EDT) Received: from smtpng1.m.smailru.net (smtpng1.m.smailru.net [94.100.181.251]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id 450EC2D9BD for ; Fri, 6 Apr 2018 07:09:06 -0400 (EDT) From: Kirill Shcherbatov Subject: [tarantool-patches] [PATCH v2 1/3] Allow gcov on Mac Date: Fri, 6 Apr 2018 14:08:55 +0300 Message-Id: <46d208d42f42c50deb72eaa08450aba9f8ac631c.1523012909.git.kshcherbatov@tarantool.org> In-Reply-To: References: In-Reply-To: References: Sender: tarantool-patches-bounce@freelists.org Errors-to: tarantool-patches-bounce@freelists.org Reply-To: tarantool-patches@freelists.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: tarantool-patches List-subscribe: List-owner: List-post: List-archive: To: tarantool-patches@freelists.org Cc: v.shpilevoy@tarantool.org From: Vladislav Shpilevoy --- cmake/profile.cmake | 9 --------- 1 file changed, 9 deletions(-) diff --git a/cmake/profile.cmake b/cmake/profile.cmake index 2783991..c82fc01 100644 --- a/cmake/profile.cmake +++ b/cmake/profile.cmake @@ -1,14 +1,7 @@ -check_library_exists (gcov __gcov_flush "" HAVE_GCOV) - set(ENABLE_GCOV_DEFAULT OFF) option(ENABLE_GCOV "Enable integration with gcov, a code coverage program" ${ENABLE_GCOV_DEFAULT}) if (ENABLE_GCOV) - if (NOT HAVE_GCOV) - message (FATAL_ERROR - "ENABLE_GCOV option requested but gcov library is not found") - endif() - add_compile_flags("C;CXX" "-fprofile-arcs" "-ftest-coverage" @@ -18,8 +11,6 @@ if (ENABLE_GCOV) set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -ftest-coverage") set (CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -fprofile-arcs") set (CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -ftest-coverage") - - # add_library(gcov SHARED IMPORTED) endif() if (NOT CMAKE_BUILD_TYPE STREQUAL "Debug") -- 2.7.4