Em Tuesday, 7 de June de 2011, às 00:52:16, Alexander Neundorf escreveu:
> srcs = foo.c, bar.c, blub.c
>
> if(Windows)
>    srcs += win.c
>
> if (HAVE_MOUNT_H)
>    srcs += mount.c
>
> if(BSD || HAVE_WHATEVER)
>    if (SOME_VERSION < 1.0)
>       srcs += x1.c
>    else
>       srcs += x2.c
>
> add_executable(hello $srcs)
>
> I think an IDE cannot decide automatically where to add a file here.
> Also I cannot imagine how to present those different places in a GUI
> (...and  the GUI  would still be somewhat easier to understand than just
> looking at the cmake  script).
>
> So, I'm curious how you plan to solve this.

You're trying to solve the problem of having a GUI for writing every aspect of
the build system. That's not what we want.

What we want from the above is the full listing of source files (to present in
the project listing).

--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Qt5-feedback mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback

Reply via email to