Hi,

I just pushed a new repository which I hinted at in IRC a few days
ago. It uses CMake's external project feature to direct the build of
dependencies. Right now it is just the core set (haven't tackled all
of the Python stuff). Qt would actually be easy to add as we are
already building that using external project in a few other
repositories.

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

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

The distinct advantage here is that things like libxml2 are not even
CMake based, but can be built using CMake to direct the build. Open
Babel fails on Windows at present due to some hardcoded binary/header
paths when using MSVC, and Avogadro's install step fails on Windows
due to it trying to install zlib for the binary packaging. I have it
building locally with a couple of patches to my local tree.

I think that this represents an ideal way of building, and prefer it
to the approach used in Open Babel where a small set of binaries is
maintained for Windows. I have been testing this largely with Visual
Studio Express 2008, and GCC 4.5 on Linux. It makes it pretty simple
to depend on several small libraries such as OpenQube without putting
snapshots in our source trees. More details will follow, but I wanted
to give you an early preview.

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 
_______________________________________________
Avogadro-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/avogadro-devel

Reply via email to