Stardust is a 2D and 3D C++ rendering engine built with OpenGL. The direction of this project along with the API is subject to change. Currently it is a hobby project and is not intended for production use. The rendering engine is supposed to support low level and high level rendering.
The Stardust engine is built with CMake and requires installation of the following dependencies:
The Stardust library also uses the following dependencies which are included in the repository (under the Code/3rdParty directory):
- Clone the repository
git clone https://github.com/scorp18pl/StarDust.git
cd StarDust
- Create a build directory and proceed to it
cd Code
mkdir build && cd build
- Install the library with CMake
cmake .. -DCMAKE_BUILD_TYPE=Release
sudo make install
In your project's CMakeLists.txt file add the following lines:
- Find the library alongside the dependencies
find_library(UNIVERSAL universal)
find_library(STARDUST stardust)
find_package(glfw3 REQUIRED)
- Link the libraries to your project
target_link_libraries(main PRIVATE ${STARDUST} ${UNIVERSAL} glfw)