[QBS] flex

Christian Kandeler christian.kandeler at digia.com
Tue May 27 11:42:09 CEST 2014


On 05/27/2014 11:19 AM, olivier musse wrote:
>> 2) If you want your generated file to be considered a C++ source file,
>> you need to tell qbs that by giving it the "cpp" file tag:
>>        Artifact {
>>            fileName:"ruleslexer.cpp"
>> 	fileTags: "cpp"
>>        }
> This is what I have done but then the file ruleslexer.cpp is compiled
> and I do not want it to be compile since it is already included in the
> rulesparser.cpp.

Oops, I misread. If it's an included file, it should get the "hpp" file tag.


Christian




More information about the Qbs mailing list