Quantcast
Channel: Kurt's Weblog
Viewing all articles
Browse latest Browse all 108

GMT5 will use CMake

$
0
0
Oh hell. I don't like cmake. Autoconf is hard, but cmake and scons just make me want to walk away. And this after we got mb-system to build with autoconf. GMT 5 switches from autoconf to cmake:

Transition from GNU Autotools to CMake

GNU autotoolsCMake
./configurecmake <source-dir>
make distcleanrm <build-dir>
rm config.cacherm CMakeCache.txt
–prefixCMAKEINSTALLPREFIX
–enable-netcdfNETCDFROOT
–enable-gdalGDALROOT
–enable-pcrePCREROOT
–enable-matlabMATLABROOT
–enable-debugCMAKEBUILDTYPE
–enable-triangleLICENSERESTRICTED
–enable-USUNITS
–enable-flockFLOCK
CFLAGSCMAKECFLAGS
guru/gmtguru.macroscmake/ConfigUser.cmake

Viewing all articles
Browse latest Browse all 108

Trending Articles