Mastering CMake: A Cross-Platform Build System

Mastering CMake: A Cross-Platform Build System image
ISBN-10:

1930934092

ISBN-13:

9781930934092

Released: Aug 01, 2003
Publisher: Kitware, Inc.
Format: Paperback, 157 pages
to view more data

Description:

CMake is an extensible, open-source system that manages the build process in an operating system and compiler independent manner. Unlike many cross-platform systems, CMake is designed to be used in conjunction with the native build environment. CMake can compile source code, create libraries, generate wrappers, and build executables in arbitrary combinations. CMake supports in-source and out-of-source builds, and can therefore support multiple builds from a single source tree. CMake provides extensive support for building static and dynamic libraries. This book contains instructions on how to download, install, and run CMake on many platforms including Linux (UNIX), Microsoft Windows, and Mac OSX. The internals of how CMake works and how it impacts your build scripts is covered. Instructions are provided for running the different GUIs including command line options and a separate chapter on using ctest (included with CMake) to perform software testing. A full reference of CMake's commands and variables with descriptions is included. Using CMake is simple. The build process is controlled by creating one or more CMakeLists.txt files in each directory (including subdirectories) that make up a project. Each CMakeLists.txt consists of one or more commands with the form COMMAND (args...) where COMMAND is the name of the command, and args is a white-space separated list of arguments. CMake includes commands for finding libraries and header files, support for optional components of your software, testing the compiler and platform for specific features, and much more. CMake provides many powerful pre-defined commands, but if you need to, you can even add your own commands using CMake's support for dynamically loaded commands.

Low Price Summary






Top Bookstores


























We're an Amazon Associate. We earn from qualifying purchases at Amazon and all stores listed here.

DISCLOSURE: We're an eBay Partner Network affiliate and we earn commissions from purchases you make on eBay via one of the links above.

Want a Better Price Offer?

Set a price alert and get notified when the book starts selling at your price.

Want to Report a Pricing Issue?

Let us know about the pricing issue you've noticed so that we can fix it.