A fast and easy to use virtual machine
- C++ compiler (gcc, clang, ...)
- Build system generator: cmake
These packages can usually be installed through your distributions package manager.
To set the compiler that will be used, you can use:
export CC=/usr/bin/clang
export CXX=/usr/bin/clang++
export CC=/usr/bin/gcc
export CXX=/usr/bin/g++
To build the project, we first need to create a separate build directory and cd
into it:
mkdir build
cd build
Now that we've created our build directory (assuming it's created in the project root), we can run cmake
(we need to pass the parent directory path to them, which is where the CMakeLists.txt
file is located):
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_EXPORT_COMPILE_COMMANDS=1
Once cmake
is done generating makefiles, we can build the app by running make
inside our build directory:
make
./demo
To install the app run:
sudo make install
By default the libraries and headers will be installed in /usr/local/lib
and /usr/local/include
directories.
Thalia is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. For more details, see LICENSE file.
Contributions are welcome. If you have a feature request, or have found a bug, feel free to open a new issue. If you wish to contribute code, see CONTRIBUTING.md for more details.