|
TTS v4.0.0
The Tiny Test System
|
Code source of TTS is available on GitHub and can be retrieved via the following command:
Once retrieved, you should have a tts folder which contains the whole source code.
Create a build directory here and enter it. Once in the build directory, you can use CMake to generate the build system for TTS. We recommend using Ninja but any build system is fine.
Once CMake completes, you can use the install target to build and install TTS. By default, the library will be installed in the /usr/local directory, thus requiring root privileges.
You can select an alternative installation path by specifying the CMAKE_INSTALL_PREFIX option at configuration time.
Once installed, TTS is usable directly by providing the path to its installed files.
You can also use TTS via a single standalone file that can be vendored in your own project without having to deal with TTS as a dependency.
Simply use wget to fetch the latest version and place it where you want:
Use TTS by just compiling your code with the include path pointing to the location of this single file.
You can also use CMake FetchContent operation and use the tts::tts library target that our CMake exports.
The TTS library can be setup using CPM: