← Back to team overview

yade-dev team mailing list archive

Re: scons

 

SharedLibrary('libabcd.so',['source1.cc','source2.cc'],LIBPATH=env['LIBPATH']+['/your/new/path1','/your/new/path2'],CPPPATH=env['CPPPATH']+['/your/new/include/path1'])

Untested. man scons for details. V.
> Could you send me an exemple (syntax) of how you specify a new include 
> path and new libpath for compiling a library in sconscript files.
> Currently, I'm copy-pasting or symlinking *.hpp and lib*.a from my CGAL 
> project to Yade/lib and Yade/include. It works, but it could be better...
>
> Thank you.
>
> Bruno
>
>   

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



Follow ups

References