mirror of
https://github.com/mutouyun/cpp-ipc.git
synced 2025-12-06 16:56:45 +08:00
45 lines
575 B
Prolog
45 lines
575 B
Prolog
TEMPLATE = lib
|
|
TARGET = ipc
|
|
|
|
CONFIG += c++14
|
|
CONFIG -= qt
|
|
|
|
DEFINES += __IPC_LIBRARY__
|
|
DESTDIR = ../output
|
|
|
|
INCLUDEPATH += \
|
|
../include \
|
|
../src \
|
|
../src/platform
|
|
|
|
HEADERS += \
|
|
../include/export.h \
|
|
../include/shm.h \
|
|
../include/circ_elem_array.h \
|
|
../include/circ_queue.h \
|
|
../include/ipc.h
|
|
|
|
SOURCES += \
|
|
../src/shm.cpp
|
|
|
|
unix {
|
|
|
|
SOURCES += \
|
|
../src/platform/shm_linux.cpp
|
|
|
|
LIBS += -lrt
|
|
|
|
target.path = /usr/lib
|
|
INSTALLS += target
|
|
|
|
} # unix
|
|
|
|
else:win32 {
|
|
|
|
SOURCES += \
|
|
../src/platform/shm_win.cpp
|
|
|
|
LIBS += -lKernel32
|
|
|
|
} # else:win32
|