corrosion-0.6.1

Introduction to corrosion

The corrosion package is a tool for integrating rustc into an existing CMake project.

[Note]

Note

This version of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable version of the System V books.

Package Information

corrosion Dependencies

Required

rustc

Installation of corrosion

Install corrosion by running the following commands:

mkdir build &&
cd    build &&

cmake -D CMAKE_INSTALL_PREFIX=/usr    \
      -D CMAKE_BUILD_TYPE=Release     \
      -D CMAKE_INSTALL_LIBEXECDIR=lib \
      -D CORROSION_BUILD_TESTS=OFF    \
      -W no-author ..                 &&
make

The package does not come with a test suite.

Now, as the root user:

make install

Contents

Installed Programs: None
Installed Library: None
Installed Directories: /usr/lib/cmake/Corrosion and /usr/share/cmake