integrated.pri
32 lines
| 1.3 KiB
| text/plain
|
TextLexer
|
r43 | integrated_build:{ | ||
|
r33 | message('Internal build within charts core source tree') | ||
INCLUDEPATH += $$CHART_BUILD_HEADER_DIR | ||||
LIBS += -L $$CHART_BUILD_LIB_DIR -Wl,-rpath,$$CHART_BUILD_LIB_DIR | ||||
|
r41 | DESTDIR = $$CHART_BUILD_BIN_DIR | ||
|
r33 | CONFIG(debug, debug|release) { | ||
LIBS += -lQtCommercialChartd | ||||
|
r37 | |||
#this is ugly hack to work around missing rpath, it simply copies lib | ||||
win32:{ | ||||
|
r41 | copylib.target = $$CHART_BUILD_BIN_DIR/QtCommercialChartd.dll | ||
|
r37 | copylib.commands = $$QMAKE_COPY $$CHART_BUILD_LIB_DIR\QtCommercialChartd.dll $$CHART_BUILD_BIN_DIR | ||
copylib.depends = $$CHART_BUILD_LIB_DIR/QtCommercialChartd.dll | ||||
|
r41 | PRE_TARGETDEPS += $$CHART_BUILD_BIN_DIR/QtCommercialChartd.dll | ||
|
r37 | QMAKE_EXTRA_TARGETS +=copylib | ||
} | ||||
|
r34 | } else { | ||
|
r33 | LIBS += -lQtCommercialChart | ||
|
r37 | |||
#this is ugly hack to work around missing rpath, it simply copies lib | ||||
win32:{ | ||||
|
r41 | copylib.target = $$CHART_BUILD_BIN_DIR/QtCommercialChart | ||
|
r37 | copylib.commands = $$QMAKE_COPY $$CHART_BUILD_LIB_DIR\QtCommercialChart.dll $$CHART_BUILD_BIN_DIR | ||
copylib.depends = $$CHART_BUILD_LIB_DIR/QtCommercialChart.dll | ||||
|
r41 | PRE_TARGETDEPS += $$CHART_BUILD_BIN_DIR/QtCommercialChart | ||
|
r37 | QMAKE_EXTRA_TARGETS +=copylib | ||
} | ||||
|
r34 | } | ||
}else{ | ||||
|
r37 | CONFIG+=qtcommercialchart | ||
|
r33 | } | ||