From: Daniel W. <wa...@mo...> - 2008-12-23 15:42:37
|
On Tue, Dec 23, 2008 at 10:58:13PM +1000, Mark Constable wrote: > On 2008-12-23, Daniel Wagner wrote: > > > how to build libffado without the need for scons? > > > > I'm not sure why you don't want to use scons > > python is not available on the target machines. I see. That makes it a bit more complex. I wonder if it we could do a cross build. But that's normaly even more complicated then what you plan. > > What do you try to do? Maybe we can give you a different solution. > > I'd like to eventually use Cmake. Nice. Personally I like cmake better then scons but that's just me. I think Arnold will disagree here :) > > Anyway you need to figure out all needed flags, include paths and compile > > options for all the c++ files. Simplest thing would be to fire up scons and > > see what the output is. Otherwise you have to parse yourself the SConscript > > and figure out what you need for compilation. If you like I can send you > > the build output from my system. > > I could find a regular desktop system and install scons > but if you care to mail me what you see from a scons run > then betwen that and looking thru SConscript I might be > able to translate it to a Makefile then perhaps convert > that to CMakeLists.txt format once it's working. I would suggest you try to go for CMakeList.txt directly. > > There are some simple variations needed to build the support directory. > > Again, this shouldn't be so hard. > > I'm working my way thru using Cmake to build ALSA and > other dependencies for Jack. I'd like to eventually get > the whole audio stack to build using only Cmake. Ok, so you have created the cmake files for also and jack already? Do you plan to ship it upstream again? That would be nice thing. Of course, it isn't clear if it will be included, but you never know :) I think the situation here with ffado is if you opt for doing it (support and all) then it is possible to include the cmake thing. Again that's just me talking. The other developers might have quite a different opinion on this topic. cheers, daniel |