On 11/10/2013 18:49, 罗勇刚(Yonggang Luo)  wrote:

 > How to add cpp files but not to be compiled?

Put them in a group and give them some file tag that the compiler rule 
doesn't understand:

files: ["myfile.cpp"]
Group {
     files: ["do_not_compile.cpp"]
     fileTags: ["example_source_code"]
}

-- 
Joerg Bornemann
Digia, Qt
http://qt.digia.com/

_______________________________________________
QBS mailing list
QBS@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qbs

Reply via email to