carl
24.04
Computer ARithmetic Library
|
We use CMake to support the building process. CMake is a command line tool available for all major platforms. To simplify the building process on Unix, we suggest using CCMake.
CMake generates a Makefile likewise to Autotools' configure. We suggest initiating this procedure from a separate build directory, called 'out-of-source' building. This keeps the source directory free from files created during the building process.
Run ccmake
to obtain a list of all available options or change them.
Using [t]
, you can enable the advanced mode that shows all options. Most of these should not be changed by the average user.
/usr/bin/c++
: Default for most linux distributions, will probably be an alias for g++
./usr/bin/g++
: Uses g++
./usr/bin/clang++
: Uses clang
.There are a few important targets in the CArL CMakeLists:
doc
: Builds the doxygen documentation.libs
: Builds all libraries.runXTests
: Builds the tests for the X
module.test
: Build and run all tests.