Re: [QBS] QBS Rule Item: Code generation with multiple output files with variable names

2016-05-18 Thread Christian Kandeler
On 05/18/2016 09:33 AM, Sebastian Stadelmann wrote: in our project we need to generates several „*.cpp“ and „*.h“ files from one input file ("*.db“). In the input file we define a database table structure for multiple tables and generate one cpp class for each table definition. The name of the

Re: [QBS] QBS Rule Item: Code generation with multiple output files with variable names

2016-05-18 Thread Jake Petroules
Hi Sebastian, You need to give the output artifact of your Rule the cpp file tag in order it to be recognized as a C++ source file. The outputFileTags property only indicates the potential set of file tags that artifacts in the outputArtifacts script may contain (for more complex Rules where th

[QBS] QBS Rule Item: Code generation with multiple output files with variable names

2016-05-18 Thread Sebastian Stadelmann
Hi, in our project we need to generates several „*.cpp“ and „*.h“ files from one input file ("*.db“). In the input file we define a database table structure for multiple tables and generate one cpp class for each table definition. The name of the generated cpp files is not known before we start