>=CMake-3.0
- C++14 compliant compiler:
>=gcc-4.9
,>=clang-3.7
,>=VS2015
Make sure that submodules are present (if the repository has not been cloned
with --recursive
option):
$ git submodule update --init --recursive
Generate the makefiles:
$ cd bootstrap
$ cmake .
Build:
$ make -j $(nproc)
Generate the MS Projects:
$ cd bootstrap
$ cmake . -G "Visual Studio 14 2015 Win64"
Build the bootstrap from the command line:
$ msbuild nany-boostrap.sln
Note: For automating the build process with Visual Build Tools, please refer
to the appveyor.yml
file at the root directory of the repository.
To compile in release mode, just add -DCMAKE_BUILD_TYPE=release
to cmake
command line options.
notes: fpm (Effing Package Management) is required for generating deb/rpm packages
Installing fpm
:
$ apt-get install ruby-dev gcc make
$ gem install fpm
$ cd bootstrap
$ make package-deb
Installing fpm
:
$ yum install ruby-devel gcc make
$ gem install fpm
$ cd bootstrap
$ make package-rpm