Skip to content

Latest commit

 

History

History
49 lines (31 loc) · 1.48 KB

building.md

File metadata and controls

49 lines (31 loc) · 1.48 KB

Building the project

Clone

To clone the current project in your working setup simply follows the list of commands below:

git clone http://mpegx.int-evry.fr/software/haptics/rm0.git

Note : The previous command clone the project through HTTPS protocol, but the SSH one is still possible. To do it, you simply need to replace use this other command:

git clone [email protected]/software/haptics/rm0.git

Compilation

Windows

We recommand to use Visual Studio 19. CMake is supported by this tool, the clone folder can be directly opened in VS. Please refer to the official documentation.

An alternative is to generate a Visual Studio project with the cmake-gui.

Don't forget to manually activate clang-tidy (see coding_style.md)

Then select Build/Build all to start the compilation.

Linux

mkdir build & cd build
ccmake ..
make

Testing

Run unit tests to make sure that everything is ok. Otherwise contact the software coordinator.

Install

During the Cmake configuration the CMAKE_INSTALL_PREFIX can be configured to select a folder in which the executable will be installed.

Then run

make install

for Linux or run the INSTALL target in Visual Studio.