OpenTransactions uses the CMake build system. The basic steps are:
mkdir build
cd build
cmake ..
make
make install
This assumes you have opentxs installed and available on the system.
If you are planning to contribute please contact the devs in #opentransactions @ freenode.net IRC chat.
All development goes in develop branch - please don't submit pull requests to master.
Please do NOT use an editor that automatically reformats.
As part of our Continuous Integration system we run cppcheck and clang-format. The build will fail if either of them finds problems.
For convenience please enable the git hooks which will trigger cppcheck and clang-format each time you push or commit. To do so type in the repo directory:
cd .git/hooks
ln -s ../../scripts/git_hooks/pre-push
ln -s ../../scripts/git_hooks/pre-commit
To check your code without pushing the following command can be used:
git push -n