Hi,

I wanted to point out a small project I have been working on to make
it easier to build Avogadro on all platforms. It uses a new feature in
CMake called external projects, where CMake can download source
tarballs, and can build several projects in one. In working on this it
was of course necessary to build Open Babel and several of its
dependencies. This is where I hit some hard coded paths for MSVC, I
would like to fix them but I don't want to break anyone's set up.

https://github.com/cryos/avogadro-squared

git clone --recursive git://github.com/cryos/avogadro-squared.git

The above will get you a copy of what I have labelled Avogadro-Squared
for now. I will be adding the Python dependencies at some point in the
future, but wanted to start small. Here each target actually creates a
build directory, and then tells the dependent targets where the
previous ones places binaries, include files etc. It has the distinct
advantage of building everything with the compiler being used, for the
architecture targeted.

Would an option such as openbabel_USE_PREBUILT_WINDOWS_BINARIES, or
similar, defaulting to ON to maintain current behavior be reasonable?
The xtc stuff was failing for example, as I am not building whatever
library that is, or linking to it. I would also like to build inchi as
part of this process, either as another external package or part of
Open Babel's build.

If others are interested, it could be used as a way to remove the
prebuilt DLLs from OpenBabel's source tree without bundling in third
party codes. For projects like Avogadro it should make it much easier
for new developers to get up and running while using several external
libraries.

Marcus
--
Marcus D. Hanwell, Ph.D.
R&D Engineer, Kitware Inc.
(518) 881-4937

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
OpenBabel-Devel mailing list
OpenBabel-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-devel

Reply via email to