CMake

From BioLib
Revision as of 22:04, 22 September 2016 by WikiSysop (talk | contribs) (Restored from Internet Archive at Jan 30, 2011)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

CMake is used for multiplatform build support of BioLib. Rather than the venerable automake tools ('configure' and friends). We want to keep things simple and proof is with the CMake file in Add C Library. CMake allows a modular system for generating Makefiles. Ultimately CMake is a simple macro language, with lots of configuration tools out of the box. CMake only requires a C-compiler to build itself, so it is light on requirements. To build BioLib you need to install CMake 2.6, or later, on your system. All Linux distributions come with CMake - as KDE uses it. For more instructions on getting and installing cmake, see http://www.cmake.org/.

Note: as CMake generates Makefiles and other supporting files you need to remove those when you want to change configurations. A script file exists for that in ./scripts/cleanup.sh.