[sword-devel] OS X/iPhoneOS based development

Greg Hellings greg.hellings at gmail.com
Tue Jun 15 07:59:49 MST 2010

On Tue, Jun 15, 2010 at 9:46 AM, Dmitrijs Ledkovs
<dmitrij.ledkov at ubuntu.com> wrote:
> On 15 June 2010 14:27, Greg Hellings <greg.hellings at gmail.com> wrote:
>> On Mon, Jun 14, 2010 at 5:52 PM, Dmitrijs Ledkovs
>> I have included build/configuration files for a number of the
>> different iPhone SDK packs with help from
>> http://sites.google.com/site/michaelsafyan/coding/resources/how-to-guides/cross-compile-for-the-iphone/how-to-cross-compile-for-the-iphone-using-cmake.
>>  The so-called "architecture files" that can be set with either the
>> CMake GUI or command-line arguments are found in the cmake/toolchains/
> What's CMake GUI? and where do I get one?


If you download the .dmg for OS X or the installer for Windows, you'll
get the GUI version of the program.  If you're using a package
manager, most of them have a cmake-gui target, or similar.

>> I'd be happy to work with you on doing anything like that you need.  I
>> don't know too much about creating Frameworks or building the
>> bindings.  I believe the current state of the CMake project files has
>> feature parity with the autotools in building the library, utilities,
>> demos and tests but I hadn't touched the bindings yet, because I had
>> no idea how those are built.  Also, I wanted to get feedback from
>> others on how well the current base abilities were working for them.
> The idea about bindings is:
> 1) Build sword library and headers
> 2) Take bindings pixy dust (swig) and run swig to regenerate itself
> against sword library
> 3) Take the output from swig and compile the bindings (e.g. python
> module) install & use
> I don't know how many swig bindings are currently in working/updated
> state. If you find any CMake/swig info please post links =)

AFAIK the Corba and Python bindings are in regular use by the SWORDWeb
and the BP Bible developers respectively.  Beyond that I'm not sure,

CMake has had support for SWIG since version 2.0, with an example in
their wiki at http://www.cmake.org/Wiki/CMake_FAQ#How_do_I_use_CMake_to_generate_SWIG_wrapper_libraries.3F

I'll see what I can do about adding support for that.  Does anyone
else know of other SWIG wrappers, or just other wrappers, that are
actively in use?

>> Feel free to push a new branch to Launchpad if you have fixes or
>> additions or to mail me patches or anything else like that.  I can
>> also be found on IRC many days, though depending on work and such I
>> might be more or less available.
> lp:sword/cmake now points to your branch =)

lp:sword/cmake or lp:libsword/cmake?  When I first signed up for
Launchpad I flagged myself as working with Sword, only to find out
that it's "Semantic Web on Rails development".


More information about the sword-devel mailing list