Build managment [CMAKE Make Ninja] - pfpsim/PFPSim GitHub Wiki
#CMake Developer: Kitware Website: https://cmake.org/ ##Installation
For Debian - Ubuntu
CMake can be installed using apt-get.
- apt-get install cmake
- [Elevated privileges may be required]
Note: The Latest version from apt-get on the Ubuntu/Debian repositories are at 2.8.x as of 23-03-2016. We recommend using version 3.5+ for support for faster build tools like ninja.
###Installing CMake 3.5+
- Download the latest version of source from CMake
- Extract tar
- Follow instructions in the Readme
I don't have time to read the readme. ok then, just run the following:
- ./bootstrap
- make
- make install
- Make and Make install require elevated privelages
- check cmake version with cmake --version
#BUILD TOOLS
Make
Dev: GNU Web: https://www.gnu.org/software/make/
Installation
For Debian - Ubuntu
- apt-get install make
- [Elevated privileges may be required]
Ninja
Dev: Google/Chromium/Android Web: https://ninja-build.org/
Installation
For Debian - Ubuntu
- apt-get install ninja-build
- [Elevated privileges may be required]
#Using with CMAKE
To use either of these in your build directory they can used as follows, only one build system can be used for the main top level project at a given time. Subprojects/External Projects added to CMakeLists.txt can use other build systems.
- cmake -GNinja
- cmake -G"Unix Makefiles"
- cmake <---- Usually defaults to Make