Skip to content

Latest commit

 

History

History
executable file
·
46 lines (23 loc) · 774 Bytes

INSTALL.rst

File metadata and controls

executable file
·
46 lines (23 loc) · 774 Bytes

Create build directory

$ mkdir build
$ d build

Generate a makefile

  • On Unix-like OS:
cmake -G "Unix Makefiles" -S .. -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_PREFIX=/path/to/folder
  • On windows with MSYS2:
cmake -G "Unix Makefiles" -S .. -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_PREFIX=/path/to/folder
  • On windows with ifort and msvc:
cmake -G "NMake Makefiles" -S .. -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_PREFIX=/path/to/folder

Build

cmake --build .

Run tests

ctest

Install

cmake --install .