##// END OF EJS Templates
Created auto test specific pri
Tero Ahola -
r960:d781c0caabdc
parent child
Show More
@@ -0,0 +1,17
1 !include( ../../common.pri ) {
2 error( "Couldn't find the common.pri file!" )
3 }
4 !include( ../../integrated.pri ) {
5 error( "Couldn't find the integrated.pri file !")
6 }
7
8 TEMPLATE = app
9 CONFIG += qtestlib
10
11 DESTDIR = $$CHART_BUILD_BIN_DIR/test
12 OBJECTS_DIR = $$CHART_BUILD_DIR/test/$$TARGET
13 MOC_DIR = $$CHART_BUILD_DIR/test/$$TARGET
14 UI_DIR = $$CHART_BUILD_DIR/test/$$TARGET
15 RCC_DIR = $$CHART_BUILD_DIR/test/$$TARGET
16
17 !contains(TARGET, ^tst_.*):TARGET = $$join(TARGET,,"tst_")
1 NO CONTENT: modified file
NO CONTENT: modified file
@@ -1,4 +1,4
1 !include( ../../test.pri ) {
1 !include( ../auto.pri ) {
2 error( "Couldn't find the test.pri file!" )
2 error( "Couldn't find the auto.pri file!" )
3 }
3 }
4 SOURCES += tst_chartdataset.cpp
4 SOURCES += tst_chartdataset.cpp
@@ -1,4 +1,4
1 !include( ../../test.pri ) {
1 !include( ../auto.pri ) {
2 error( "Couldn't find the test.pri file!" )
2 error( "Couldn't find the auto.pri file!" )
3 }
3 }
4 SOURCES += tst_domain.cpp
4 SOURCES += tst_domain.cpp
@@ -1,4 +1,4
1 !include( ../../test.pri ) {
1 !include( ../auto.pri ) {
2 error( "Couldn't find the test.pri file!" )
2 error( "Couldn't find the auto.pri file!" )
3 }
3 }
4 SOURCES += tst_qchart.cpp
4 SOURCES += tst_qchart.cpp
@@ -1,4 +1,4
1 !include( ../../test.pri ) {
1 !include( ../auto.pri ) {
2 error( "Couldn't find the test.pri file!" )
2 error( "Couldn't find the auto.pri file!" )
3 }
3 }
4 SOURCES += tst_qchartview.cpp
4 SOURCES += tst_qchartview.cpp
@@ -1,19 +1,14
1 !include( ../common.pri ) {
1 !include( ../common.pri ) {
2 error( "Couldn't find the common.pri file!" )
2 error( "Couldn't find the common.pri file!" )
3 }
3 }
4
5 !include( ../integrated.pri ) {
4 !include( ../integrated.pri ) {
6 error( "Couldn't find the integrated.pri file !")
5 error( "Couldn't find the integrated.pri file !")
7 }
6 }
8
7
9 TEMPLATE = app
8 TEMPLATE = app
10 CONFIG += qtestlib
11
9
12 DESTDIR = $$CHART_BUILD_BIN_DIR/test
10 DESTDIR = $$CHART_BUILD_BIN_DIR/test
13 OBJECTS_DIR = $$CHART_BUILD_DIR/test/$$TARGET
11 OBJECTS_DIR = $$CHART_BUILD_DIR/test/$$TARGET
14 MOC_DIR = $$CHART_BUILD_DIR/test/$$TARGET
12 MOC_DIR = $$CHART_BUILD_DIR/test/$$TARGET
15 UI_DIR = $$CHART_BUILD_DIR/test/$$TARGET
13 UI_DIR = $$CHART_BUILD_DIR/test/$$TARGET
16 RCC_DIR = $$CHART_BUILD_DIR/test/$$TARGET
14 RCC_DIR = $$CHART_BUILD_DIR/test/$$TARGET
17
18 !contains(TARGET, ^tst_.*):TARGET = $$join(TARGET,,"tst_")
19
General Comments 0
You need to be logged in to leave comments. Login now