CMake Portable is a professional open-source application whose purpose is to help you configure and generate build files for software packages.
It lets you create builds from the same source tree, generate cross-compilation, build a directory tree outside the source tree, generate a cache for locating executables, files and libraries, work with complex directory hierarchies and tools that rely on several libraries, as well as generate makefiles for many platforms and IDEs including Unix, Windows, Mac OS X, OS/2, MSVC, Cygwin, MinGW and Xcode.
Portable running mode
This is the portable version of the program that can be deployed on the target computer by simply running the executable file. In addition, you may store it on any USB flash drive or other portable devices.
The tool does not leave any entries in your Windows registry and store configuration data in your system, so you may run it without administrative privileges.
The utility sports a clean and intuitive GUI that allows you to configure most of the main parameters directly from the main window. There’s support for a help manual that provides only short descriptions of the program’s features.
Setting up and building software packages
CMake Portable allows you to select the source folder for the project that contains the CMakeLists plain text files. In addition, you are allowed to specify the build directory where the project is generated.
In order to read all of the input files and identify the variables used in the project, you need to press on the ‘Configure’ button. Variable are displayed using the red color and you are required to repeat the configuration process until there are no longer red entries.
As soon as there are no red entries in the main panel, you may activate the building process that writes the files to the specified directory.
Other powerful features worth being mentioned give you the possibility to include files, libraries and executables, run a set of external programs, work with conditional builds, create multiple compilation trees from a single source tree, as well as handle in-place and out-of-place builds.
- Supports complex, large build environments. CMake has been proven in several large projects.
- Generates native build files (e.g., makefiles on Unix; workspaces/projects on MS Visual C++). Therefore standard tools can be used on any platform/compiler configuration.
- Has powerful commands include the ability to locate include files, libraries, executables; include external CMake files that encapsulate standard functionality; interfaces to testing systems; supports recursive directory traversal with variable inheritance; can run external programs; supports conditional builds; supports regular expression expansion; and so on.
- Supports in-place and out-of-place builds. Multiple compilation trees are possible from a single source tree.
- Can be easily extended to add new features.
- CMake is open source.
- CMake operates with a cache designed to be interfaced with a graphical editor. The cache provides optional interaction to conditionally control the build process.
An efficient and reliable tool
CMake Portable comes with an advanced suite of features for helping you manage the build process of software applications that depend on multiple libraries.