[Liblas-devel] Building libLAS using CMake

Mateusz Loskot mateusz at loskot.net
Sun Sep 27 18:40:34 EDT 2009


I'm glad to announce that CMake build configuration for libLAS has
reached the point of being usable.

Here is detailed story with extensive example of how to use CMake to
configure, build and install libLAS:


The configuration has been tested on Linux and I would call it
Unix-ready. Next, I'm going to test it on Windows with Visual Studio,
so I can get rid of manually maintained project files in build/msvcXY

Why CMake? Because it's simple and powerful with clean and very well
documented syntax, it does NOT use libtool and it perfectly implements
WORA principle for build configuration.
Currently, Autotools-based configuration is 50% larger (counting in
bytes) than the (close) equivalent for CMake. CMake configuration works
on Mac OS X and Windows with number of IDEs and their versions.
Shortly, I strongly believe CMake will help to get rid of the hassle of
maintaining build configurations for Windows and Unix.

Tests, comments, fixes are welcome!

Best regards,
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org

More information about the Liblas-devel mailing list