CMAKE: examples which illustrate the use of CMAKE, an open-source cross-platform family of tools which can build, test, and package software. CMake is used to control the software compilation process using simple platform and compiler independent configuration files. It generates native makefiles and workspaces that can be used in a given compiler environment.
CMAKE uses a text file named CMakeLists.txt, in the home directory of the software package, to specify the actions that are necessary to set up the software. Each subdirectory of the home directory should also have a CMakeLists.txt file. The user begins the build process by moving to the home directory and typing
cmake .
CMAKE will carry out a configuration process, typically involving
many messages to the screen, after which a traditional Makefile
will be created in the home directory. The software process is
then completed by typing
make
Before the creation of CMAKE, an author distributing software
would often have to include not one, but many variations of
a suitable makefile, and these would only cover the most common
choices of operating system, machine precision, and so on. CMAKE
is much more flexible in allowing a single description of the
desired result, which is then implemented after determining the
local computing environment.
MAKEFILES, C programs which illustrate the use of MAKEFILES for maintaining a software project;
MAKEFILES, C++ programs which illustrate the use of MAKEFILES for maintaining a software project;
MAKEFILES, FORTRAN77 programs which illustrate the use of MAKEFILES for maintaining a software project;
MAKEFILES, FORTRAN90 programs which illustrate the use of MAKEFILES for maintaining a software project;
You can go up one level to the EXAMPLES directory.