From c6132a05f311fedf7e14f5dc990aa60ba6a683f3 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Wed, 1 Sep 2010 13:27:24 +0200 Subject: Customwizards: Add a way of wrapping a Generator script. Add attribute to XML syntax specifying a script to generate files. The script must provide a --dry-run mode in which it prints the files it intends to create and their attributes to stdout. Rework the CustomWizardContext structure to contain target path and parameter mappings, simplify some code there. --- src/plugins/projectexplorer/customwizard/customwizard.pri | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/plugins/projectexplorer/customwizard/customwizard.pri') diff --git a/src/plugins/projectexplorer/customwizard/customwizard.pri b/src/plugins/projectexplorer/customwizard/customwizard.pri index ac8bf2ea26..6b0066cbc6 100644 --- a/src/plugins/projectexplorer/customwizard/customwizard.pri +++ b/src/plugins/projectexplorer/customwizard/customwizard.pri @@ -2,8 +2,10 @@ INCLUDEPATH *= $$PWD HEADERS += $$PWD/customwizard.h \ $$PWD/customwizardparameters.h \ $$PWD/customwizardpage.h \ - customwizard/customwizardpreprocessor.h + customwizard/customwizardpreprocessor.h \ + customwizard/customwizardscriptgenerator.h SOURCES += $$PWD/customwizard.cpp \ $$PWD/customwizardparameters.cpp \ $$PWD/customwizardpage.cpp \ - customwizard/customwizardpreprocessor.cpp + customwizard/customwizardpreprocessor.cpp \ + customwizard/customwizardscriptgenerator.cpp -- cgit v1.2.1