Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kimlaine authored Dec 1, 2018
1 parent ba2d578 commit aa7bf57
Showing 1 changed file with 38 additions and 27 deletions.
65 changes: 38 additions & 27 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,19 +71,22 @@ worse than in Release mode.
#### Library

If you have root access to the system you can install SEAL system-wide as follows:
cd src
cmake .
make
sudo make install
cd ..

````
cd src
cmake .
make
sudo make install
cd ..
````
#### Examples

To build the examples do:
cd examples
cmake .
make
cd ..
````
cd examples
cmake .
make
cd ..
````

After completing the above steps the sealexamples executable can be found in bin/.
See examples/CMakeLists.txt for how to link SEAL with your own project using cmake.
Expand All @@ -92,10 +95,12 @@ See examples/CMakeLists.txt for how to link SEAL with your own project using cma

To build the unit tests, make sure you have the Google Test library (libgtest-dev)
installed. Then do:
cd tests
cmake .
make
cd ..
````
cd tests
cmake .
make
cd ..
````

After completing these steps the sealtest executable can be found in bin/. All unit
tests should pass successfully.
Expand All @@ -105,19 +110,23 @@ tests should pass successfully.
#### Library

To install SEAL locally, e.g., to ~/mylibs, do the following:
cd src
cmake -DCMAKE_INSTALL_PREFIX=~/mylibs .
make
make install
cd ..
````
cd src
cmake -DCMAKE_INSTALL_PREFIX=~/mylibs .
make
make install
cd ..
````

#### Examples

To build the examples do:
cd examples
cmake -DCMAKE_PREFIX_PATH=~/mylibs .
make
cd ..
````
cd examples
cmake -DCMAKE_PREFIX_PATH=~/mylibs .
make
cd ..
````

After completing the above steps the sealexamples executable can be found in bin/.
See examples/CMakeLists.txt for how to link SEAL with your own project using cmake.
Expand All @@ -126,10 +135,12 @@ See examples/CMakeLists.txt for how to link SEAL with your own project using cma

To build the unit tests, make sure you have the Google Test library (libgtest-dev)
installed. Then do:
cd tests
cmake -DCMAKE_PREFIX_PATH=~/mylibs .
make
cd ..
````
cd tests
cmake -DCMAKE_PREFIX_PATH=~/mylibs .
make
cd ..
````

After completing these steps the sealtest executable can be found in bin/. All unit
tests should pass successfully.
Expand Down

0 comments on commit aa7bf57

Please sign in to comment.