The StdAir
library contains classes for airline business management. This document does not cover all the aspects of the StdAir
library. It does however explain the most important things you need to know in order to start using StdAir
.
To build StdAir, go to the top directory (where the StdAir package has been un-packed), and issue the following commands only once:
$ export INSTALL_BASEDIR=~/dev/deliveries $ export STDAIR_VER=99.99.99 $ if [ -d /usr/lib64 ]; then LIBSUFFIX=64; fi $ export LIBSUFFIX_4_CMAKE="-DLIB_SUFFIX=$LIBSUFFIX" $ rm -rf build && mkdir build && cd build $ cmake -DCMAKE_INSTALL_PREFIX=${INSTALL_BASEDIR}/stdair-$STDAIR_VER \ -DCMAKE_BUILD_TYPE:STRING=Debug -DENABLE_TEST:BOOL=ON \ -DINSTALL_DOC:BOOL=ON -DRUN_GCOV:BOOL=OFF ${LIBSUFFIX_4_CMAKE} ..
Then, everytime you change the source code:
$ make check
When everything is fine, install StdAir locally:
$ make install
StdAir
predefines a BOM (Business Object Model) tree specific to the airline IT arena.