← Back to team overview

yade-dev team mailing list archive

Re: small question on the order of directories in .pro files

 

Bruno Chareyre said:     (by the date of Fri, 24 Nov 2006 14:49:30 +0100)

> 
> Hello
> 
> In yade-packages/yade-package-dem/src/Engine, the pro file is like this :
> 
> SUBDIRS += DeusExMachina \
>            MetaEngine \
>            EngineUnit \      
>            StandAloneEngine
> 
> I have to modify this in order to link some DeusExs with some standalone 
> ones...
> Is it because my design is flawed? Will I break the install procedure if 
> change this to :
> 
> SUBDIRS +=
>            MetaEngine \
>            EngineUnit \      
>            StandAloneEngine
> DeusExMachina \
> 
> I will try this and let you know.


You can do the change, make clean, then check if it compiles without
problems. If yes, then there is no problem, and you can change the
order. But be careful about \ - you made a mistake :)

SUBDIRS +=  MetaEngine \
            EngineUnit \
            StandAloneEngine \
            DeusExMachina

The \ must be also a last character in the line. If there are some
spaces after it - it won't work.


> Is it because my design is flawed?

rather unlikely. Yade simply needs more refactoring, to make things
simpler. We are still learning.

-- 
# Janek Kozicki
_______________________________________________
yade-dev mailing list
yade-dev@xxxxxxxxxxxxxxxx
https://lists.berlios.de/mailman/listinfo/yade-dev



References