kdevelop 3.4 makeopts issue

Andreas Pakulat apaku at gmx.de
Mon Apr 30 17:27:37 UTC 2007


On 30.04.07 13:01:11, Kris Wong wrote:
> > I guess the problem here is the build system? I'm trying to
> > understand how make can execute the compilation of
> > propertyeditor.cpp before the *base files are generated...
> 
> It doesn't issue the compilation command before the .ui file is
> generated.  Since make is running 3 processes simultaneously, though, it
> issues these commands one immediately following the other.  Before uic
> has had a chance to generate the header file, gcc has found an error in
> the compilation of the .cpp file.  Make will then wait until all jobs
> have finished before returning.  This way, when you run the make command
> again the generated file is there.

Well, unless make's -j option is completely broken what is missing here
is a dependecy from the projecteditor.cpp to the projecteditorbase.h.
Because in that case make (if it has sane rules to for making the
commands parallel) cannot execute uic and gcc in parallel. Which, as I
said also, indicates a build-system problem.

Andreas

-- 
You will be misunderstood by everyone.




More information about the KDevelop-devel mailing list