← Back to team overview

yade-users team mailing list archive

Exclude something from compilation ?

 

Hi everybody. I didn't find anything that works neither on the site nor on archives so I afford me to ask here this simple question : what should I type to exclude some pkgs from compilation.
I tried for example to type in a file scons.profile-MyTrunkC (attached) :
exclude = ['lattice','snow','fem','realtime-rigidbody']
but it seems to be a syntax error :

jduriez@r0calcul1:~/MyTrunkC$ scons profile=MyTrunkC
scons: Reading SConscript files ...
@@@ Using profile MyTrunkC (scons.profile-MyTrunkC) @@@

scons: *** Error converting option: exclude
Invalid value(s) for option: lattice snow fem realtime-rigidbody
File "/home/3S-LAB/jduriez/MyTrunkC/SConstruct", line 146, in <module>

Thanks

Jerome
PREFIX = '/home/3S-LAB/jduriez/YADE'
optimize = True
openmp = False
exclude = ['lattice','snow','fem','realtime-rigidbody']
features = 'python'
version = ''
CPPPATH = ['/usr/include/wm3']
QTDIR = ['/usr/share/qt3', '/usr/lib/qt', '/usr/qt/3', '/usr/lib/qt-3.3']
CXX = 'g++-4.3'
CXXFLAGS = []
SHCCFLAGS = ['-fPIC']
pretty = False

Follow ups