New install target.

This commit is contained in:
Nicolás Ortega Froysa
2018-03-25 12:30:39 +02:00
parent 1cdd5964f0
commit 8c19b96bb7
2 changed files with 19 additions and 5 deletions

6
README
View File

@ -21,7 +21,11 @@ You can then compile the program via the following commands:
This will create a release build with compiler optimizations. If you would like
a debug build then pass the `-DCMAKE_BUILD_TYPE=debug' flag to the `cmake'
command.
command. If you would like to install then run `cmake' with the additional flag
`-DCMAKE_INSTALL_PREFIX=<install_dir>'. If you are installing as a user then
you may want to set the installation prefix to `/usr/local/', and if you're
packaging then please consult your distribution's policies. With this you
should be able to run the `make install' target and install the binary.
# Contributing
--------------