blob: 47709a811d2c1a1fbf28f274c999ef2f40b42d6f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
QT += core script
TARGET = testgen
CONFIG += console
CONFIG -= app_bundle
TEMPLATE = app
SOURCES += main.cpp \
testgenerator.cpp
HEADERS += testgenerator.h
INPUT_DATASET = data.txt
dataset.name = Generating QScraiptValue autotest's dataset
dataset.output = autogenerated.cpp
dataset.commands = python gen.py data.txt autogenerated.cpp
dataset.input = INPUT_DATASET
dataset.variable_out = SOURCES
QMAKE_EXTRA_COMPILERS += dataset
|