corrosion-0.6.1

Introduction to corrosion

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

[Note]

Note

This package is known to build and work properly using an LFS 13.1 platform.

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