Mercurial > trustbridge
diff INSTALL @ 1264:3cd8dd706aaa
Add possibility to build with CLANG and document it.
This only works for now with the c parts of the code.
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Fri, 26 Sep 2014 17:59:49 +0200 |
parents | 827abc0923a8 |
children | b18f08034c24 |
line wrap: on
line diff
--- a/INSTALL Fri Sep 26 16:06:44 2014 +0200 +++ b/INSTALL Fri Sep 26 17:59:49 2014 +0200 @@ -107,6 +107,14 @@ cd build-linux cmake .. -DCMAKE_PREFIX_PATH=$YOURPREFIX +To build with clang (if it is installed): + + mkdir build-clang + cd build-clang + CC=/usr/bin/clang \ + CXX=/usr/bin/clang++ \ + cmake .. -DCMAKE_PREFIX_PATH=$YOURPREFIX \ + -DUSE_CLANG=TRUE I386 ==== @@ -167,7 +175,8 @@ --without-zlib make && make install -Now for Trustbridge itself +Now for Trustbridge itself: + cd ../../trustbridge mkdir build-i386 cd build-i386