forked from romixlab/qmsgpack
Build and run tests with qmake
as of now, running tests is as simple as just typing qmake && make check
This commit is contained in:
@@ -1,22 +0,0 @@
|
||||
#-------------------------------------------------
|
||||
#
|
||||
# Project created by QtCreator 2014-09-20T15:17:37
|
||||
#
|
||||
#-------------------------------------------------
|
||||
|
||||
QT += testlib
|
||||
|
||||
QT -= gui
|
||||
|
||||
TARGET = pack_test
|
||||
CONFIG += console
|
||||
CONFIG -= app_bundle
|
||||
|
||||
TEMPLATE = app
|
||||
|
||||
LIBS += -lqmsgpack
|
||||
INCLUDEPATH += ../../src
|
||||
|
||||
|
||||
SOURCES += pack_test.cpp
|
||||
DEFINES += SRCDIR=\\\"$$PWD/\\\"
|
||||
@@ -0,0 +1,7 @@
|
||||
TARGET = pack_test
|
||||
QT += testlib
|
||||
CONFIG += testcase
|
||||
|
||||
include(../tests.pri)
|
||||
|
||||
SOURCES += pack_test.cpp
|
||||
Reference in New Issue
Block a user