/alps/ufodecode

To get this branch, use:
bzr branch http://darksoft.org/webbzr/alps/ufodecode

« back to all changes in this revision

Viewing changes to INSTALL

  • Committer: Matthias Vogelgesang
  • Date: 2012-07-18 14:43:59 UTC
  • Revision ID: matthias.vogelgesang@kit.edu-20120718144359-uno2me7s6h7sxnje
Add INSTALL and README

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Simple install procedure
 
2
========================
 
3
 
 
4
  $ tar xfz libufodecode-0.x.y.tar.xfz
 
5
  $ cd libufodecode-0.x.y
 
6
  $ mkdir build
 
7
  $ cd build/
 
8
  $ cmake ..
 
9
  $ make
 
10
 
 
11
  [ Become root if necessary ]
 
12
  $ make install
 
13
 
 
14
 
 
15
Requirements
 
16
============
 
17
 
 
18
libuca requires CMake and a standard C Compiler. Information about CMake can be
 
19
found at:
 
20
 
 
21
    http://www.cmake.org
 
22
 
 
23
 
 
24
Building the Library
 
25
====================
 
26
 
 
27
On Linux, libufodecode uses the CMake build system. The normal procedure to
 
28
build this library is to create an empty build directory:
 
29
 
 
30
    $ mkdir build/ && cd build
 
31
 
 
32
configure the project using CMake:
 
33
 
 
34
    $ cmake ../
 
35
 
 
36
and compiling the library with make:
 
37
 
 
38
    $ make
 
39
    $ make install
 
40
 
 
41
Options to the build process can be passed to the system when configuring:
 
42
 
 
43
    $ cmake ../ -DCMAKE_INSTALL_PREFIX=/usr
 
44
 
 
45
or via configuration tools like `ccmake`.