-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from abmorris/master
CMake: allow optional ROOT libraries and more conventional installation with instructions in the README
- Loading branch information
Showing
3 changed files
with
235 additions
and
273 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,3 +13,28 @@ The most recent version of simpletools, including the above documentation will a | |
|
||
Bug reports, feature requests, comments and patches are always welcome. \ | ||
[email protected] | ||
|
||
## Installation | ||
|
||
Building and installing are done with CMake. | ||
If you want to install simpletools system-wide, run: | ||
|
||
cmake . | ||
make | ||
sudo make install | ||
|
||
If you don't have administrator privileges and/or want to install locally, use `-DCMAKE_INSTALL_PREFIX` to change the destination, *e.g.*: | ||
|
||
cmake . -DCMAKE_INSTALL_PREFIX=~/.local/ | ||
make | ||
make install | ||
|
||
### Uninstallation | ||
|
||
After running `make install`, a file called `install_manifest.txt` will be created, which lists the destinations of all installed binaries and libraries. | ||
To uninstall, you can run: | ||
|
||
make uninstall | ||
|
||
which will delete every file listed in `install_manifest.txt`. | ||
|
Oops, something went wrong.