summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
d25fcc3)
Put the path to the source dir last, like the cmake manual says:
cmake [options] <path-to-source>
Also put a space between the -D option and the configuration setting it
modifies, this is more readable.
- $ cmake ../ -DCMAKE_BUILD_TYPE=debug -DSTRICT_COMPILATION_CHECKS=ON
+ $ cmake -D CMAKE_BUILD_TYPE=debug -D STRICT_COMPILATION_CHECKS=ON ../
$ make
If you want to check the code with the ''sparse'' static analysis tool you
$ make
If you want to check the code with the ''sparse'' static analysis tool you
- $ cmake ../ -DCMAKE_C_COMPILER=cgcc
+ $ cmake -D CMAKE_C_COMPILER=cgcc ../