Skip to content
This repository was archived by the owner on Jan 6, 2020. It is now read-only.

Build Instructions

Fraser Hutchison edited this page Feb 24, 2014 · 2 revisions

Currently, this library should only be built as part of the MaidSafe super-project. Full details about the build process can be found in the build instructions for the super-project. However, the following should normally be enough to get you started:

git clone [email protected]:maidsafe/MaidSafe
cd MaidSafe
git submodule update --init
cd ..
cmake -HMaidSafe -Bbuild_maidsafe

This should create a directory called build_maidsafe next to the cloned super-project containing among other things a makefile or project file (e.g. maidsafe.sln). To build all Client targets, build AllApi:

cmake --build build_maidsafe --target AllApi --config Debug

Running Tests

Full details about the various options for running tests can be found in the super-project's wiki page Running Tests and Logging Options, but in summary, you can do:

  • Build TESTapi
  • ./TESTapi --help to see options
  • ./TESTapi to run tests
  • Build ExperApi to run all tests and submit the results to the Dashboard