added first install variables

This commit is contained in:
Patrick Lipka 2021-12-17 13:09:36 +01:00
parent 828d392b24
commit 199d0493a0
1 changed files with 8 additions and 4 deletions

View File

@ -6,17 +6,21 @@ This software is licensed under the BSD-2-clause license. Please see LICENSE for
## Dependencies ## Dependencies
The program uses GNU Readline (https://tiswww.case.edu/php/chet/readline/rltop.html) for command completion and history. \ The program uses GNU Readline (https://tiswww.case.edu/php/chet/readline/rltop.html) for command completion and history. \
The Readline library is free software, distributed under the terms of the [GNU] General Public License as published by the Free Software Foundation, version 3 of the License. \ The Readline library is free software, distributed under the terms of the [GNU] General Public License as published by the Free Software Foundation, version 3 of the License. \
Packages are available on most Linux distributions and BSD systems as well as macOS. Depending on your OS you man need to also install a package like libreadline-dev to have access to the headers.\ Packages are available on most Linux distributions and BSD systems as well as macOS. Depending on your OS you man need to also install a package like libreadline-dev to have access to the headers.
The program assumes POSIX functionalities as provided by unistd.h. The best way to run it on Windows might be to install a Unix compatibility layer or use Windows' Subsystem for Linux.\ The program assumes POSIX functionalities as provided by unistd.h and a Unix file system layout. The best way to run it on Windows might be to install a Unix compatibility layer or use Windows' Subsystem for Linux.\
To compile the program you need a C++ compiler which supports the C++11 standard. To compile the program you need a C++ compiler which supports the C++11 standard.
The program has ben tested on the following systems: The program has been tested on the following systems:
* Debian Linux 5.10.70-1, GCC 10.2.1 20210110 * Debian Linux 5.10.70-1, GCC 10.2.1 20210110
* macOS 11.5.2, Apple clang 12.0.5 * macOS 11.5.2, Apple clang 12.0.5
## Installation ## Installation
The following variables can be used to configure the build:
* `CXX` - C++ compiler, defaults to `g++`
* `PREFIX` - install prefix, defaults to `/usr/local`
* `USER_NAME` - user name to be mentioned in monthly reports, defaults to `$USER`
* `TRACKING_DIR` - directory where tracking files are saved, defaults to `/home/$USER/track`
## Settings ## Settings