// $Id$

/******************************************************************************
*
* Copyright (C) 2002 Hugo PEREIRA <mailto: hugo.pereira@free.fr>
*
* This is free software; you can redistribute it and/or modify it under the
* terms of the GNU General Public License as published by the Free Software
* Foundation; either version 2 of the License, or (at your option) any later
* version.
*
* This software is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
* for more details.
*
* You should have received a copy of the GNU General Public License along with
* software; if not, write to the Free Software Foundation, Inc., 59 Temple
* Place, Suite 330, Boston, MA  02111-1307 USA
*
*
*******************************************************************************/

How to install
--------------

Get a tarball of latest release and unpack:

  gtar -xzvf qedit-xyz.tar.gz or

I. cmake:
---------

  cd qedit-xyz/
  cmake .

(see below or use cmake . --help for options)

II. Make:
---------

  make
  make install

to install the code. This will install qedit in the default installation path of your system (e.g. /usr/local/bin, or /usr/bin, depending on the system).
This usually requires root privileges at the installation stage. 

III. Local installation:
------------------------

Alternatively a different installation path can be set at configuration time using the CMAKE_INSTALL_PREFIX option. For a local installation use:

  cmake -DCMAKE_INSTALL_PREFIX=$HOME .

Program files will be installed in $HOME/bin.

IV. Windows(tm) compilation:
----------------------------

On Windows, the code has been checked to succesfully compile using MinGW only. To achieve this, additional options must be
passed to the cmake command:

  cmake -G "MinGW Makefiles" .
  make
  make install

As for the linux case, you can specify the destination folder using -DCMAKE_INSTALL_PREFIX

Questions, comments:
hugo.pereira@free.fr
