lecture: Borsch: modern build system for C/C++ GIS projects
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.
Links to project: https://github.com/nextgis-extra/common_cmake