37 lines
789 B
Prolog
37 lines
789 B
Prolog
#CONFIG -= qt
|
|
|
|
TEMPLATE = lib
|
|
DEFINES += VRSHAREMEM_LIBRARY
|
|
|
|
CONFIG += c++11
|
|
|
|
# You can make your code fail to compile if it uses deprecated APIs.
|
|
# In order to do so, uncomment the following line.
|
|
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
|
|
|
|
INCLUDEPATH += ./Inc
|
|
INCLUDEPATH += ./_Inc
|
|
|
|
SOURCES += \
|
|
Src/VrShareMem.cpp
|
|
|
|
HEADERS += \
|
|
Inc/IVrShareMem.h \
|
|
Inc/VrShareMem_global.h \
|
|
_Inc/VrShareMem.h
|
|
|
|
#common inc
|
|
INCLUDEPATH += $$PWD/../../VrCommon/Inc
|
|
|
|
# Default rules for deployment.
|
|
unix {
|
|
target.path = /usr/lib
|
|
# Link real-time library for POSIX shared memory functions
|
|
LIBS += -lrt
|
|
}
|
|
!isEmpty(target.path): INSTALLS += target
|
|
|
|
# Windows specific libraries
|
|
win32 {
|
|
LIBS += -luser32 -lkernel32
|
|
} |