INSTALL 1011 Bytes
Newer Older
jclamber's avatar
jclamber committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
CONFIGURATION
=============

To configure UNSIO, type

  mkdir build
  cd build
  cmake ..

in the directory that contains this INSTALL file. You can add several options
to this command. The most important ones are

  -DCMAKE_INSTALL_PREFIX=<dir>          installation directory [${HOME}/local/unsio]
  -DCMAKE_BUILD_TYPE=<Debug|Release>    build type [Debug]
  -DBUILD_SHARED_LIBS=<TRUE|FALSE>      shared or static libraries [TRUE]
  -DCMAKE_C_COMPILER=<program>          C compiler [gcc]
  -DCMAKE_CXX_COMPILER=<program>        C++ compiler [g++]


Note that CMake maintains a cache name "CMakeCache.txt". If you change options
(or your environment changes), it is best to remove that file to avoid
problems.


BUILDING
========

To build the UNSIO libraries, type

  make                               (or nmake in a Windows command prompt)

If you want, you can install the UNSIO header and libraries. To do so, type

  make install


A list of all available make targets can be obtained by

  make help