##// 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,2 +1,2
1 1 TEMPLATE = subdirs
2 SUBDIRS += chartdataset domain qchartview qchart No newline at end of file
2 SUBDIRS += chartdataset domain qchartview qchart
@@ -1,4 +1,4
1 !include( ../../test.pri ) {
2 error( "Couldn't find the test.pri file!" )
1 !include( ../auto.pri ) {
2 error( "Couldn't find the auto.pri file!" )
3 3 }
4 4 SOURCES += tst_chartdataset.cpp
@@ -1,4 +1,4
1 !include( ../../test.pri ) {
2 error( "Couldn't find the test.pri file!" )
1 !include( ../auto.pri ) {
2 error( "Couldn't find the auto.pri file!" )
3 3 }
4 4 SOURCES += tst_domain.cpp
@@ -1,4 +1,4
1 !include( ../../test.pri ) {
2 error( "Couldn't find the test.pri file!" )
1 !include( ../auto.pri ) {
2 error( "Couldn't find the auto.pri file!" )
3 3 }
4 SOURCES += tst_qchart.cpp No newline at end of file
4 SOURCES += tst_qchart.cpp
@@ -1,4 +1,4
1 !include( ../../test.pri ) {
2 error( "Couldn't find the test.pri file!" )
1 !include( ../auto.pri ) {
2 error( "Couldn't find the auto.pri file!" )
3 3 }
4 SOURCES += tst_qchartview.cpp No newline at end of file
4 SOURCES += tst_qchartview.cpp
@@ -1,19 +1,14
1 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 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 8 TEMPLATE = app
10 CONFIG += qtestlib
11 9
12 10 DESTDIR = $$CHART_BUILD_BIN_DIR/test
13 11 OBJECTS_DIR = $$CHART_BUILD_DIR/test/$$TARGET
14 12 MOC_DIR = $$CHART_BUILD_DIR/test/$$TARGET
15 13 UI_DIR = $$CHART_BUILD_DIR/test/$$TARGET
16 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