[Qbs] A simple project that copy an executable does not work

Vincent Hui vincenthk007 at gmail.com
Sun Jul 7 15:58:42 CEST 2019

Hi Ivan,

Thank you very much for creating a complete example in Rule document. That
definitely helps new qbs users.

I have another question that I didn't find answers after reading qbs doc.

Is it possible to create CppApplication dynamically to generate multiple

For example, I have two cpp files "main1.cpp" "main2.cpp" containing one
main functions respectively inside "apps" folders. I want my project can
add all cpp files automatically can build all executables "main1.exe"
"main2.exe" respectively.

I know I can add all cpp files automatically by using Group. However, I
don't know how to build 2 executables without hardcode 2 CppApplication.

Thank you again,

On Sat, 6 Jul 2019 at 23:15, Иван Комиссаров <abbapoh at gmail.com> wrote:

> https://codereview.qt-project.org/c/qbs/qbs/+/267333
> > 6 июля 2019 г., в 15:51, Иван Комиссаров <abbapoh at gmail.com> написал(а):
> >
> > Ivan.
> _______________________________________________
> Qbs mailing list
> Qbs at qt-project.org
> https://lists.qt-project.org/listinfo/qbs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20190707/c39e4d97/attachment.html>

More information about the Qbs mailing list