Skip to content

Latest commit

 

History

History
54 lines (36 loc) · 966 Bytes

BUILDING_Linux.md

File metadata and controls

54 lines (36 loc) · 966 Bytes

Linux

  • You can also see ccpp.yml file to help you to see dependencies. This file is up-to-date about how to build Nelson on each platform.

  • You can also build nelson with a micromamba environment

After installing micromamba

micromamba env create -f environment-linux-dev.yml
micromamba activate nelson

see ccpp.yml with micromamba job.

  • CMake options:
cmake -LAH

Standard build:

cd nelson
cmake -DCMAKE_BUILD_TYPE=Release -G "Unix Makefiles" .
cmake --build . -- -j $(nproc)

Some tips:

  • Build Nelson with clang-tidy fix
  cd nelson
  cmake -DENABLE_CLANG_TIDY_FIX=ON -G "Unix Makefiles" .
  • launch Nelson:
cd nelson
./bin/linux/nelson.sh

or

cd nelson
./bin/macOs/nelson.sh

Previous (Building)