mirror of
https://github.com/romixlab/qmsgpack.git
synced 2025-07-31 10:57:15 +02:00
.pro make install now working.
This commit is contained in:
23
src/src.pro
23
src/src.pro
@ -3,10 +3,7 @@ CONFIG += shared
|
|||||||
QMAKE_CXXFLAGS += -std=c++11
|
QMAKE_CXXFLAGS += -std=c++11
|
||||||
TARGET = qmsgpack
|
TARGET = qmsgpack
|
||||||
DEFINES += MSGPACK_MAKE_LIB
|
DEFINES += MSGPACK_MAKE_LIB
|
||||||
HEADERS += msgpack_common.h
|
|
||||||
VERSION = 0.1.0
|
VERSION = 0.1.0
|
||||||
message($${PWD})
|
|
||||||
message($$_PRO_FILE_PWD_)
|
|
||||||
|
|
||||||
HEADERS += \
|
HEADERS += \
|
||||||
msgpack_common.h \
|
msgpack_common.h \
|
||||||
@ -25,3 +22,23 @@ SOURCES += \
|
|||||||
private/qt_types_p.cpp \
|
private/qt_types_p.cpp \
|
||||||
private/unpack_p.cpp \
|
private/unpack_p.cpp \
|
||||||
private/pack_p.cpp
|
private/pack_p.cpp
|
||||||
|
|
||||||
|
release: DESTDIR = ../build/release
|
||||||
|
debug: DESTDIR = ../build/debug
|
||||||
|
OBJECTS_DIR = $$DESTDIR/obj
|
||||||
|
MOC_DIR = $$DESTDIR/moc
|
||||||
|
|
||||||
|
HEADERS_INSTALL = \
|
||||||
|
msgpack_common.h \
|
||||||
|
msgpackstream.h \
|
||||||
|
msgpack_export.h \
|
||||||
|
msgpack.h \
|
||||||
|
endianhelper.h
|
||||||
|
|
||||||
|
unix {
|
||||||
|
header_files.files = $$HEADERS_INSTALL
|
||||||
|
header_files.path = /usr/include/qmsgpack
|
||||||
|
target.path = /usr/lib
|
||||||
|
INSTALLS += header_files target
|
||||||
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user