/**
\page setup Compiling and installing TPIE


You will need <a href="http://git-scm.org">Git</a>, <a
href="http://cmake.org">CMake</a>, <a
href="http://boost.org">Boost</a> and a C++ compiler in order to use
TPIE on any system. Once these dependencies have been installed, you
should be able to use the steps in this section to compile and install
TPIE.

<h2>Linux/MacOS</h2>

First, clone the <a href="https://github.com/thomasmoelhave/tpie">git repository</a> and
checkout the branch or tag you wish to compile:

\verbatim
git clone git://github.com/thomasmoelhave/tpie.git
cd tpie
git checkout master
\endverbatim

Now, create a build directory and run CMake followed by make:

\verbatim
mkdir build
cd build
cmake -D CMAKE_BUILD_TYPE:STRING=Release ..
make
\endverbatim

This will generate the static library \c libtpie.a in the \c build/tpie folder.
The unit test executables are placed in the \c test/unit folder and are prefixed
with the token \c ut-.
To run the unit tests, use <a href="http://www.cmake.org/cmake/help/ctest-2-8-docs.html">CTest</a>:

\verbatim
ctest
\endverbatim

<h3>Installation</h3>

TPIE can be used right from the build directory, or installed into a separate directory. The two most popular ways of doing this are:

<h4>Direct Installation</h4>

You can install tpie in \c /usr/local/ by simply invoking:

\verbatim
make install
\endverbatim

Change the \c CMAKE_INSTALL_PREFIX CMake variable to change the prefix
directory.

<h4>CPack Installation</h4>

You can use <a href="http://www.cmake.org/cmake/help/cpack-2-8-docs.html">CPack</a> to build various binary packages that can be used to
install TPIE on your computer, or on other computers:

\verbatim
cpack
# On .deb-based Linux distros:
sudo dpkg -i tpie-1.0.0-Linux.deb
# On other Linux distros:
cd /usr/local
sudo tar xvf path/to/tpie/build/tpie-1.0.0-Linux.tar.gz
\endverbatim

To link your application with TPIE, may manually specify the linker flags
<tt>-ltpie -lboost_system -lboost_filesystem -lboost_date_time</tt>, or you may use the example \c CMakeLists.txt from the
\c tpie/example/ directory to find the TPIE installation using CMake.

<h2>Windows</h2>

Clone the <a href="https://github.com/thomasmoelhave/tpie">git
repository</a> at <tt>git://github.com/thomasmoelhave/tpie.git</tt>,
perhaps using <a
href="http://code.google.com/p/tortoisegit/">TortoiseGit</a> or <a
href="http://code.google.com/p/gitextensions/">Git Extensions</a>, and
set up the build environment using CMake, perhaps using the CMake
GUI. TPIE is known to work with the Microsoft Visual Studio 2008 and
2010 compilers. Be sure to select a 64-bit build when your platform
supports it.


 */
