[Qt5-feedback] Build system requirements for Qt5

Thiago Macieira thiago at kde.org
Tue Jun 7 01:12:48 CEST 2011


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt.nokia.com/pipermail/qt5-feedback/attachments/20110607/0819890b/attachment.bin 


More information about the Qt5-feedback mailing list