projects
/
anna.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix ad-hoc cmake for install
[anna.git]
/
README.md
diff --git
a/README.md
b/README.md
index
06247b4
..
7bfbb7c
100644
(file)
--- a/
README.md
+++ b/
README.md
@@
-34,9
+34,11
@@
You could specify type of build, 'Debug' or 'Release', for example:
> make clean
> make clean
-## Change the compiler
to Clang++
+## Change the compiler
s
- > cmake -DCMAKE_CXX_COMPILER=/usr/bin/clang++
+ > cmake -DCMAKE_CXX_COMPILER=/usr/bin/g++ -DCMAKE_C_COMPILER=/usr/bin/gcc
+ or
+ > cmake -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -DCMAKE_C_COMPILER=/usr/bin/clang
## Some basic ubuntu requirements
## Some basic ubuntu requirements
@@
-116,11
+118,12
@@
Execute 'make test'
To install headers, libraries, and examples, execute:
To install headers, libraries, and examples, execute:
- > make install
+ >
sudo
make install
Optionally you could specify another prefix for installation:
Optionally you could specify another prefix for installation:
- > cmake -DCMAKE_INSTALL_PREFIX=$HOME/anna_deploy .
+ > cmake -DMY_OWN_INSTALL_PREFIX=$HOME/anna-deploy
+ > make install
## Uninstall
## Uninstall