mirror of
https://github.com/CrowCpp/Crow.git
synced 2024-06-07 21:10:44 +00:00
Mac gcov error fix (remove -r option)
This commit is contained in:
parent
edee080ab9
commit
e68f5db64f
3
Makefile
3
Makefile
@ -5,6 +5,7 @@ FLAGS_BOOST_THREAD = -lboost_thread-mt
|
||||
else
|
||||
FLAGS_BOOST_THREAD = -lboost_thread
|
||||
FLAGS_DEBUG = -g
|
||||
FLAGS_GCOV = -r
|
||||
endif
|
||||
|
||||
binaries=covtest example
|
||||
@ -29,7 +30,7 @@ unittest: unittest.cpp routing.h utility.h crow.h http_server.h http_connection.
|
||||
covtest: unittest.cpp routing.h utility.h crow.h http_server.h http_connection.h parser.h http_response.h common.h json.h datetime.h logging.h
|
||||
${CXX} -Wall $(FLAGS_DEBUG) -std=c++1y -o covtest --coverage unittest.cpp http-parser/http_parser.c -pthread -lboost_system $(FLAGS_BOOST_THREAD) -I http-parser/
|
||||
./covtest
|
||||
gcov -r unittest.cpp
|
||||
gcov $(FLAGS_GCOV) unittest.cpp
|
||||
|
||||
.PHONY: clean
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user