summaryrefslogtreecommitdiffstats
path: root/INSTALL
blob: 128277f048bc6f81c5ee59e085976a153e7d618a (plain)
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
42
43
44
45
Simple install procedure
========================

  $ tar xfz libufodecode-0.x.y.tar.xfz
  $ cd libufodecode-0.x.y
  $ mkdir build
  $ cd build/
  $ cmake ..
  $ make

  [ Become root if necessary ]
  $ make install


Requirements
============

libuca requires CMake and a standard C Compiler. Information about CMake can be
found at:

    http://www.cmake.org


Building the Library
====================

On Linux, libufodecode uses the CMake build system. The normal procedure to
build this library is to create an empty build directory:

    $ mkdir build/ && cd build

configure the project using CMake:

    $ cmake ../

and compiling the library with make:

    $ make
    $ make install

Options to the build process can be passed to the system when configuring:

    $ cmake ../ -DCMAKE_INSTALL_PREFIX=/usr

or via configuration tools like `ccmake`.