From: Pecevski D. <de...@ig...> - 2008-11-14 08:10:04
|
Hi Chris, Christopher Nolan wrote: > Hi Dejan, > > Thanks for that reply, I'm compiling in the main source tree without a > problem. The only issue now is the compilation time; it takes quite > some time to compile/link every time I make quite minor changes, > particularly if I turn debug symbols on. > > I don't suppose there is a switch in the build scripts to compile static > versions of the libpcsim.so and pypcsim.so and include these static > versions in my extension build (then loading up only my extension > library in python)? > No unfortunately there is not any switch for this purpose. One could play around with the cmake files to achieve this functionality. Another workaround would be to compile a blank sim object in the main pcsim code, which is derived from SimObject and SingleOutputSpikeSender, (e.g. SOSpikeSenderSimObject). Then you can derive in the extension module from SOSpikeSenderSimObject class and implement your custom sim object. The extension module build should work when you don't use multiple inheritance in the extension classes. Cheers, Dejan |