On Mon, Aug 23, 2010 at 6:06 PM, Geoffrey Hutchison
<ge...@geoffhutchison.net> wrote:
>> What is the equivalent of the option "--disable-dynamic-modules"  in
>> configure script for cmake?
>
> cmake [...] -DBUILD_SHARED=OFF

This alone doesn't do very much.

I recently made some changes to the build system to get static
compiling to work in linux (gcc) and windows (MSVC). With these
changes it is possible to build distributable exe's for linux/windows
with no external dependencies. The changes are available on github but
I still have to port them to trunk.
(http://github.com/timvdm/openbabel-2.2.1-static) I used the
CMakeLists.txt files from trunk to build openbabel 2.2.1 but the
relevant changes should be easy to port.

I'll try to port them tonight.

Tim

> Hope that helps,
> -Geoff
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by
>
> Make an app they can't live without
> Enter the BlackBerry Developer Challenge
> http://p.sf.net/sfu/RIM-dev2dev
> _______________________________________________
> OpenBabel-discuss mailing list
> OpenBabel-discuss@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/openbabel-discuss
>

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
OpenBabel-discuss mailing list
OpenBabel-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss

Reply via email to