We're sorry but this page doesn't work properly without JavaScript enabled. Please enable it to continue.
Feedback

Borsch: modern build system for C/C++ GIS projects

Formal Metadata

Title
Borsch: modern build system for C/C++ GIS projects
Title of Series
Part Number
188
Number of Parts
193
Author
License
CC Attribution 3.0 Germany:
You are free to use, adapt and copy, distribute and transmit the work or content in adapted or unchanged form for any legal purpose as long as the work is attributed to the author in the manner specified by the author or licensor.
Identifiers
Publisher
Release Date
Language

Content Metadata

Subject Area
Genre
Abstract
Many C/C++ GIS libraries are usually built via autoconf/make/nmake/VC. While this is valid approach, we believe there is a better new alternative - CMake. Enter 'Borsch' - new build system that is a) easier to use, b) better solves depencies and c) provides more uniform way of building packages. Needed dependencies are automatically fetched from repositories. We’ve built an early prototype of such system and tested if on GDAL build process (over 50 core dependent libraries). Now a developer with only three lines of code in CMakeLists.txt for any project he is working on can add dependent GIS library. If needed library exists in the system the build system will use it, if not - it will be downloaded from Github. Our new build system works for both Windows and Linux. In my talk, I will describe our suggestiong for new GDAL sources tree structure and CMake based build system. I will also provide examples how this new build system can be used in other projects.