summaryrefslogblamecommitdiffstats
path: root/INSTALL
blob: 1b93888b022dfcdb9a0c92c7d911fd84ba614067 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
















                                                                              
To build libChooser from source follow these steps:
 $ mkdir build
 $ cd build
 $ cmake <path/to/source> # you can add parameters here: -DDEBUG=1 for example
 $ make
 $ sudo make install

List of configurable parameters with their default values:

    DEBUG                           unset
    LIBCHOOSER_BIN_PATH             "/var/opt/openslx/bin"
    LIBCHOOSER_ETC_BASE_PATH        "/etc/vmchooser"
    LIBCHOOSER_VMPATH               "/var/lib/virt"
    LIBCHOOSER_X_SESSIONS_PATH      "/usr/share/xsessions"

To change one of these parameters you have to append -D<VARIABLE>=<VALUE> when
calling cmake.