##// END OF EJS Templates
Adjust bin direcotry in compilation config
Michal Klocek -
r41:f222db1b1731
parent child
Show More
@@ -3,7 +3,7 CONFIG+=internal_build #remove if you want to build against installed libs
3 3 CHART_BUILD_HEADER_DIR = $$PWD/include
4 4 CHART_BUILD_LIB_DIR = $$PWD/lib
5 5 CHART_BUILD_DIR = $$PWD/build
6 CHART_BUILD_BIN = $$PWD/bin
6 CHART_BUILD_BIN_DIR = $$PWD/bin
7 7
8 8 # hack to fix windows builds
9 9
@@ -2,16 +2,16 internal_build:{
2 2 message('Internal build within charts core source tree')
3 3 INCLUDEPATH += $$CHART_BUILD_HEADER_DIR
4 4 LIBS += -L $$CHART_BUILD_LIB_DIR -Wl,-rpath,$$CHART_BUILD_LIB_DIR
5 DESTDIR = $$CHART_BUILD_BIN
5 DESTDIR = $$CHART_BUILD_BIN_DIR
6 6 CONFIG(debug, debug|release) {
7 7 LIBS += -lQtCommercialChartd
8 8
9 9 #this is ugly hack to work around missing rpath, it simply copies lib
10 10 win32:{
11 copylib.target = QtCommercialChartd.dll
11 copylib.target = $$CHART_BUILD_BIN_DIR/QtCommercialChartd.dll
12 12 copylib.commands = $$QMAKE_COPY $$CHART_BUILD_LIB_DIR\QtCommercialChartd.dll $$CHART_BUILD_BIN_DIR
13 13 copylib.depends = $$CHART_BUILD_LIB_DIR/QtCommercialChartd.dll
14 PRE_TARGETDEPS += QtCommercialChartd.dll
14 PRE_TARGETDEPS += $$CHART_BUILD_BIN_DIR/QtCommercialChartd.dll
15 15 QMAKE_EXTRA_TARGETS +=copylib
16 16 }
17 17
@@ -20,10 +20,10 internal_build:{
20 20
21 21 #this is ugly hack to work around missing rpath, it simply copies lib
22 22 win32:{
23 copylib.target = QtCommercialChart
23 copylib.target = $$CHART_BUILD_BIN_DIR/QtCommercialChart
24 24 copylib.commands = $$QMAKE_COPY $$CHART_BUILD_LIB_DIR\QtCommercialChart.dll $$CHART_BUILD_BIN_DIR
25 25 copylib.depends = $$CHART_BUILD_LIB_DIR/QtCommercialChart.dll
26 PRE_TARGETDEPS += QtCommercialChart
26 PRE_TARGETDEPS += $$CHART_BUILD_BIN_DIR/QtCommercialChart
27 27 QMAKE_EXTRA_TARGETS +=copylib
28 28 }
29 29 }
General Comments 0
You need to be logged in to leave comments. Login now