##// END OF EJS Templates
Fix building debug & release at the same time...
Jani Honkonen -
r1433:37348a205270
parent child
Show More
@@ -29,6 +29,10 CHART_BUILD_BIN_DIR = $$SHADOW/bin
29 CHART_BUILD_PLUGIN_DIR = $$CHART_BUILD_BIN_DIR/QtCommercial/Chart
29 CHART_BUILD_PLUGIN_DIR = $$CHART_BUILD_BIN_DIR/QtCommercial/Chart
30 CHART_BUILD_DOC_DIR = $$SHADOW/doc
30 CHART_BUILD_DOC_DIR = $$SHADOW/doc
31
31
32 # Use own folders for debug and release builds
33 CONFIG(debug, debug|release):CHART_BUILD_DIR = $$join(CHART_BUILD_DIR,,,/debug)
34 CONFIG(release, debug|release): CHART_BUILD_DIR = $$join(CHART_BUILD_DIR,,,/release)
35
32 win32:{
36 win32:{
33 CHART_BUILD_PUBLIC_HEADER_DIR = $$replace(CHART_BUILD_PUBLIC_HEADER_DIR, "/","\\")
37 CHART_BUILD_PUBLIC_HEADER_DIR = $$replace(CHART_BUILD_PUBLIC_HEADER_DIR, "/","\\")
34 CHART_BUILD_PRIVATE_HEADER_DIR = $$replace(CHART_BUILD_PRIVATE_HEADER_DIR, "/","\\")
38 CHART_BUILD_PRIVATE_HEADER_DIR = $$replace(CHART_BUILD_PRIVATE_HEADER_DIR, "/","\\")
@@ -10,6 +10,17 contains(QT_MAJOR_VERSION, 5) {
10 DEFINES += QTQUICK2
10 DEFINES += QTQUICK2
11 }
11 }
12
12
13 CONFIG(debug, debug|release) {
14 mac: TARGET = $$join(TARGET,,,_debug)
15 win32: TARGET = $$join(TARGET,,,d)
16 }
17
18 # enable building debug and release at the same time
19 CONFIG += debug_and_release
20
21 # On windows by default build both debug and release at the same time
22 win32:CONFIG += build_all
23
13 SOURCES += \
24 SOURCES += \
14 plugin.cpp \
25 plugin.cpp \
15 declarativechart.cpp \
26 declarativechart.cpp \
@@ -19,6 +19,12 unix:{
19 QMAKE_CXXFLAGS += -fvisibility=hidden -fvisibility-inlines-hidden
19 QMAKE_CXXFLAGS += -fvisibility=hidden -fvisibility-inlines-hidden
20 }
20 }
21
21
22 # enable building debug and release at the same time
23 CONFIG += debug_and_release
24
25 # On windows by default build both debug and release at the same time
26 win32:CONFIG += build_all
27
22 ############################# DEPEDENCES ########################################
28 ############################# DEPEDENCES ########################################
23
29
24 win32-msvc*: LIBS += User32.lib
30 win32-msvc*: LIBS += User32.lib
General Comments 0
You need to be logged in to leave comments. Login now