Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CPPWebFramework/UnitTests.pro
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ HEADERS += \
tests/tst_cstlcompilerout.h \
cwf/sslloader.h

DEFINES += CPPWEBFRAMEWORK_TEST
QMAKE_CXXFLAGS += -g -Wall -fprofile-arcs -ftest-coverage -O0
QMAKE_LFLAGS += -g -Wall -fprofile-arcs -ftest-coverage -O0
LIBS += -lgcov
4 changes: 3 additions & 1 deletion CPPWebFramework/cwf/cppwebframework_global.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@

#include <QtCore/qglobal.h>

#if defined(CPPWEBFRAMEWORK_LIBRARY)
#if defined(CPPWEBFRAMEWORK_TEST)
# define CPPWEBFRAMEWORKSHARED_EXPORT
#elif defined(CPPWEBFRAMEWORK_LIBRARY)
# define CPPWEBFRAMEWORKSHARED_EXPORT Q_DECL_EXPORT
#else
# define CPPWEBFRAMEWORKSHARED_EXPORT Q_DECL_IMPORT
Expand Down