From 7c5d80deacad2a1f6943dd0b77449c3f6e20fdfc Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Tue, 19 Jun 2018 18:40:32 +0200 Subject: Add tests Create first tests to be used with afb-test binding The test binding is now found using pkg-config command. Change-Id: Ib1cd08236b6b8fab93ccb67ac613a9c83908d12e Signed-off-by: Romain Forlot --- conf.d/cmake/config.cmake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'conf.d/cmake/config.cmake') diff --git a/conf.d/cmake/config.cmake b/conf.d/cmake/config.cmake index 1ebb2a45..172e20a2 100644 --- a/conf.d/cmake/config.cmake +++ b/conf.d/cmake/config.cmake @@ -63,7 +63,6 @@ set (PKG_REQUIRED_LIST json-c libsystemd>=222 afb-daemon - libmicrohttpd>=0.9.55 ) # Prefix path where will be installed the files @@ -73,7 +72,7 @@ set(CMAKE_INSTALL_PREFIX $ENV{HOME}/opt) # Customize link option # ----------------------------- -list (APPEND link_libraries -pthread) +list (APPEND link_libraries -pthread --coverage) # Compilation options definition # Use CMake generator expressions to specify only for a specific language @@ -104,9 +103,10 @@ set(CXX_COMPILE_OPTIONS -pthread CACHE STRING "Compilation flags for C++ languag # -Wp,-U_FORTIFY_SOURCE # CACHE STRING "Compilation flags for PROFILING build type.") #set(DEBUG_COMPILE_OPTIONS +# -Og # -g # -ggdb -# -Wp,-U_FORTIFY_SOURCE +# -D_FORTIFY_SOURCE=2 # CACHE STRING "Compilation flags for DEBUG build type.") #set(CCOV_COMPILE_OPTIONS # -g -- cgit 1.2.3-korg