diff options
author | Bardur Arantsson <bardur@scientician.net> | 2010-01-17 09:00:55 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2010-01-17 10:01:50 +0100 |
commit | 7099a084c7a7438a5f6ce34a2aca7ee5fa62ae7e (patch) | |
tree | d6450cf4411db52aed97309577448160aaa01cdc /building.txt | |
parent | f643e0f1a98f06dee9e0bd7973e4549deae9ddb9 (diff) |
Add an "install" target.
Diffstat (limited to 'building.txt')
-rw-r--r-- | building.txt | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/building.txt b/building.txt new file mode 100644 index 00000000..274e235c --- /dev/null +++ b/building.txt @@ -0,0 +1,43 @@ +Using the CMake build system +============================ + +There are basically two options for how to run ToME once built. + + + +Option #1 : Run ToME from the build directory +============================================= + +Simply run the commands below. + + $ cmake . + $ make + +You should now be able to run + + $ ./src/tome2 + +to start ToME. + +This is currently the recommended option. + + + +Option #2: Run ToME from a system install location +================================================== + +Run + + $ cmake -DSYSTEM_INSTALL:BOOL=true . + $ make + $ sudo make install + +You can now run ToME from anywhere. + +NOTE: The user running ToME must have write access to the +install location's lib/data subdirectory for the first run. +(This is because the *.raw files will be generated the first +time ToME is run.) + +You can also use DESTDIR when installing to install into a different +location (useful with e.g. stow or when building distribution packages). |