logplus/tran/SLFAscIIConvertor/src/SLFAsciiConvertor.pro
2025-10-29 17:23:30 +08:00

80 lines
1.7 KiB
Prolog

TEMPLATE = lib
TARGET = SLFAsciiConvertor
DEFINES += CONVERTOR_LIB
QT += core \
gui \
opengl\
INCLUDEPATH += $(OSGHOME)/include \
../include \
../../../OSGParts/include \
../../../WellLogUI/include \
../../../OSGFramework/include \
../../../common\
../../../BaseFun/include\
../../../Slfio/include\
../../../ConvertorManager/include\
../../../OSGDataModel/include\
./GeneratedFiles
#include(../../OSGDataModel/paiobjectmodel.libinfo)
HEADERS += ../include/*.h \
../../../OSGDataModel/include/ObjectIDDescription.h \
../../../common/geometryutils.h
SOURCES += *.cpp \
../../../common/geometryutils.cpp
OBJECTS_DIR = ../obj
DESTDIR = ../bin
CONFIG += qt \
debug_and_release
DEFINES += QT_DLL
CONFIG(debug, debug|release){
LIBS += -L../../../Bin -lOSGDataModeld
LIBS += -L../../../Bin -lBaseFund
LIBS += -L../../../Bin -lslfiod
LIBS += -L../../../Bin -lWellLogUId
LIBS += -L../../../Bin -lConvertorManagerd
} else {
LIBS += -L../../../Bin -lOSGDataModel
LIBS += -L../../../Bin -lBaseFun
LIBS += -L../../../Bin -lslfio
LIBS += -L../../../Bin -lWellLogUI
LIBS += -L../../../Bin -lConvertorManager
}
#include(../../OSGParts/src/osg.LibInfo)
#LIBS += -lOSGParts \
# -L../../OSGParts/bin
#LIBS += -lOSGFramework \
# -L../../OSGFramework/bin
#LIBS += -L$$(PAI_HOME)/lib -lOSGDataModel
#LIBS += -L$$(PAI_HOME)/lib -lConvertorManager
#RESOURCES +=
#QMAKE_POST_LINK = cp ../bin/*.* /opt/pi/bin
#QMAKE_POST_LINK = cp ../bin/*.so $(PAI_HOME)/lib/
CONFIG(debug, debug|release){
DESTDIR = ../../../Bin/convertor
TARGET = $$join(TARGET,,,d) #为debug版本生成的文件增加d的后缀
} else {
DESTDIR = ../../../Bin/convertor
TARGET = $$join(TARGET,,,)
}