summaryrefslogblamecommitdiffstats
path: root/INSTALL
blob: b41b45d7bacba1436f599761fd8d7437ff3b57f5 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11






                                                                              



                                                                              








                                                                              
               
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

On most systems it is highly recommended to add -DCMAKE_INSTALL_PREFIX=/usr to
the cmake call, because in the default setup /usr/local/lib is not included in
the LD Path.

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.