[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [fluid-dev] mxe & cmake enable static disable shared

From: Pedro Lopez-Cabanillas
Subject: Re: [fluid-dev] mxe & cmake enable static disable shared
Date: Tue, 05 Feb 2013 19:52:37 +0100
User-agent: KMail/4.8.5 (Linux/3.6.11-4.fc16.x86_64; KDE/4.8.5; x86_64; ; )

On Tuesday 05 February 2013 07:47:25 Jeremiah Benham wrote:
> I cross compiled fluidsynth for the mxe cross compiler (http://mxe.cc/).
> You can find the .mk file here:
> http://denemo.org/~jjbenham/mxe/src/fluidsynth.mk
> If you take a look at the file you see that I commented out the
> autoconf/automake stuff and used cmake instead. This is because it failed
> to build with anything but cmake for some reason. I used these arguments to
> build fluidsynth:
> cmake -Denable-dbus=no -Denable-readline=no .
> This ended up creating a shared lib and I am actually looking to staticly
> compile it into denemo. Is there a way to do something similar to
> ./configure --disable-shared --enable-static but using cmake.


It is (briefly) documented at src/CMakeList.txt:
# note: by default this target creates a shared object (or dll). To build a
# static library instead, set the option BUILD_SHARED_LIBS to FALSE.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]