The linear algebra proposal is targeted for C++23. Current compiler support is as follows but is liable to change as compilers catch up with implementing new language features.
-
Windows
- Visual Studio 2019
-
Mac OS
- macOS 10.14, Xcode 10.3
- macOS 10.14, Xcode 11.2
-
Ubuntu 18
- GCC 8.x, 9.x
- Clang 7.x, 8.x, 9.x
The project can be build via CMake as follows:
cd <project root>
mkdir build
cd build
cmake -G <generator> <configuration options> ../linear_algebra/code
cmake --build ../
ctest
The following configuration options are available:
Name | Possible Values | Description | Default Value |
---|---|---|---|
BUILD_TESTING |
ON , OFF |
Build the test suite | ON |
Installing the project can be run as follows:
cd <project root>
mkdir build
cd build
cmake -G <generator> <configuration options> -DCMAKE_INSTALL_PREFIX=<install dir> ../
cmake --build ../linear_algebra/code --target install
The Linear Algebra library is available integration into your own project via your favorite package manager:
To add the linear_algebra library to your project as a dependency, you need to add a remote to Conan to point the location of the library:
cd <project root>
pip install conan
conan remote add linear_algebra https://api.bintray.com/conan/twonington/public-conan
Once this is set you can add the linear_algebra dependency to you project via the following signature:
linear_algebra/0.0.1@public-conan/testing
Available versions of the Linear Algebra package can be search via Conan:
conan search linear_algebra
The linear_algebra project and package can be build locally via the Conan as such:
cd <project root>
pip install conan
conan create <project root> [--test-folder None]