This repository has been archived by the owner on Jan 6, 2020. It is now read-only.
Developer Build Instructions
justinemclevy edited this page Jan 16, 2014
·
6 revisions
This page explains how to build the MaidSafe-Transport project and details prerequisites to building the project.
- CMake (minimum version 2.8.4) To build the project, CMake must be installed and in your path.
- MaidSafe-Common
- Python (maximum version 2.7.2) Allows a style checker to run.
The project is best cloned to the same directory as was used for MaidSafe-Common, so e.g. you end up with /dev/MaidSafe-Common
and /dev/MaidSafe-Transport
. This isn't essential however.
If you are required to enter the path to the MaidSafe-Common install directory when running CMake, the default install path is a subdirectory of MaidSafe-Common named "installed".
- Clone the repository
git clone git@github.com:maidsafe/MaidSafe-Transport.git
-
cd
to build dir for Linux matching the build type required (build/Linux/Debug
,build/Linux/Release
, etc.) - Run
cmake ../../..
- Run
make
(this will make all). Other options:- Run
make Experimental
to configure, build, test and upload to our dashboard. - Run
make package
to create auto rpm or deb. - Run
make install
to install the MaidSafe-DHT library to/usr/lib
and headers to/usr/include
.
- Run
- Clone the repository
git clone git@github.com:maidsafe/MaidSafe-Transport.git
- Open a Visual Studio command terminal and
cd
to build dir for Windows (build\Win_MSVC
) - Run
cmake ..\..
This will create an MSVC solutionbuild\Win_MSVC\maidsafe_transport.sln
which will allow you to make all the targets from within the chosen MSVC IDE. Building the targetExperimental
will build the full test suite, run it and upload the results to our dashboard.