comparison INSTALL @ 1267:d9ecf3a83620

Document scan build
author Andre Heinecke <andre.heinecke@intevation.de>
date Fri, 26 Sep 2014 19:05:44 +0200
parents a548dd9a5dbe
children 4a3a482dc337
comparison
equal deleted inserted replaced
1266:a548dd9a5dbe 1267:d9ecf3a83620
126 CC=/usr/bin/clang \ 126 CC=/usr/bin/clang \
127 CXX=/usr/bin/clang++ \ 127 CXX=/usr/bin/clang++ \
128 cmake .. -DCMAKE_PREFIX_PATH=$YOURPREFIX \ 128 cmake .. -DCMAKE_PREFIX_PATH=$YOURPREFIX \
129 -DUSE_CLANG=TRUE \ 129 -DUSE_CLANG=TRUE \
130 -DCMAKE_VERBOSE_MAKEFILE=TRUE 130 -DCMAKE_VERBOSE_MAKEFILE=TRUE
131 make
132
133 To run scan build:
134
135 CXX=/usr/share/clang/scan-build/c++-analyzer \
136 CC=/usr/share/clang/scan-build/ccc-analyzer \
137 cmake .. -DCMAKE_PREFIX_PATH=$YOURPREFIX \
138 -DUSE_CLANG=TRUE \
139 -DCMAKE_VERBOSE_MAKEFILE=TRUE
140 scan-build make
131 141
132 I386 142 I386
133 ==== 143 ====
134 Install dependencies (list might be incomplete) 144 Install dependencies (list might be incomplete)
135 145

http://wald.intevation.org/projects/trustbridge/