[Qt5-feedback] Build system requirements for Qt5
Alexander Neundorf
neundorf at kde.org
Thu Jun 9 13:23:23 CEST 2011
On Thursday 09 June 2011, Oswald Buddenhagen wrote:
> On 06/09/11 09:36, ext Alexander Neundorf wrote:
...
> > CMake can easily put all existing targets into the project file for the
> > IDE, the IDE doesn't have to guess them.
>
> and how is the IDE supposed to understand the relationships between them?
?
Just making something up:
<target name="hello" directory="somewhere">
<build>make -C somedir hello</build>
<sources>
<file name = "PATH/foo.cpp">
<includedirs> ... list them all </includedirs>
<definitions> ... list them all </definitions>
<compile>make -C somedir foo.o</compile>
<preprocess>make -C somedir foo.i</preprocess>
<assemble>make -C somedir foo.s</assemble>
</file>
</sources>
</target>
All that information is readily available, it just needs to be written out
into some file for the IDE.
> the target we are looking for right now is compile-foo.cpp. but i can
> list arbitrary other requirements. there is no way around the IDE
> understanding the entire project structure, and doing that quickly
> (i.e., without calling some external tool all the time and having it
> generate some intermediate representation).
>
> honestly, i don't think this discussion will lead anywhere, so let's
> just stop it now.
> we are holding a build system workshop at the contributor summit, to
> share and discuss our research and plans in more detail with interested
> parties.
I'm afraid I can't make it there.
Alex
More information about the Qt5-feedback
mailing list