1 Building UPM {#building}
4 UPM uses cmake in order to make compilation relatively painless. Cmake runs
5 build out of tree so the recommended way is to clone from git and make a build/
8 UPM will attempt to build all directories inside src/ and they must contain
9 individual CMakeLists.txt files.
18 Our cmake configure has a number of options, `cmake -i` will ask you all sorts
19 of interesting questions, you can disable swig modules, build documentation
22 Few recommended options:
23 Changing install path from /usr/local to /usr
24 -DCMAKE_INSTALL_PREFIX:PATH=/usr
27 -DCMAKE_BUILD_TYPE=DEBUG
29 Using clang instead of gcc:
30 -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang