Skip to content

Astre is a modular, asynchronous, and high-performance game engine written in modern C++20. Built for experimentation, real-time simulation, and artistic expression, Astre combines a custom ECS architecture, OpenGL rendering, and async-driven multithreaded pipelines

Notifications You must be signed in to change notification settings

MisterSawyer/astre

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 Astre

Build Astre engine


📦 Dependencies

This project requires the following libraries:



⚙️ Configuring the project

To configure the project using CMake, run the following command:

cmake -S . -B build -G "Visual Studio 17 2022" -A x64 -DCMAKE_INSTALL_PREFIX=install -DASTRE_BUILD_TESTS=ON 
  • -S . : Specifies the source directory.
  • -B build : Specifies the build directory.
  • -G "Visual Studio 17 2022" : Use Visual Studio generator
  • -A x64 : Sets the target architecture to 64-bit
  • -DASTRE_BUILD_TESTS=ON : Enables tests.
  • -DCMAKE_INSTALL_PREFIX=install : Specifies install directory.


🛠️ Building the project

To build the project in Debug Mode, use:

cmake --build build --config Debug

This will compile the project with debugging enabled.

To build the project in Release Mode with Debug info enabled, use:

cmake --build build --config RelWithDebInfo

To build the project in Release Mode, use:

cmake --build build --config Release


🛠️ Installing the Project

To install project in Debug Mode, use:

cmake --build build --config Debug --target install

This will install the project with debugging enabled.

To install project in Release Mode, use:

cmake --build build --config Release --target install


Example for VSCode tasks

{
    "version": "2.0.0",
    "tasks": [
        {
            "label": "CMake: Configure (VS2022 x64)",
            "type": "shell",
            "command": "cmake",
            "args": [
                "-S",
                ".",
                "-B",
                "build",
                "-G",
                "Visual Studio 17 2022",
                "-A",
                "x64",
                "-DCMAKE_INSTALL_PREFIX=install"
            ],
            "group": "build",
            "problemMatcher": [],
            "detail": "Configure the project using CMake and Visual Studio 2022 (x64)"
        },
        {
            "label": "CMake: Build & Install (Debug)",
            "type": "shell",
            "command": "cmake",
            "args": [
                "--build",
                "build",
                "--config",
                "Debug",
                "--target",
                "install",
                "-j",
                "4"
            ],
            "dependsOn": [
                "CMake: Configure (VS2022 x64)"
            ],
            "group": {
                "kind": "build",
                "isDefault": true
            },
            "problemMatcher": [],
            "detail": "Build and install the project using Debug configuration"
        }
    ]
  }

🖥️ Start the game executable

./install/bin/AstreGame.exe

🖥️ Start the editor executable

./install/bin/AstreEditor.exe

About

Astre is a modular, asynchronous, and high-performance game engine written in modern C++20. Built for experimentation, real-time simulation, and artistic expression, Astre combines a custom ECS architecture, OpenGL rendering, and async-driven multithreaded pipelines

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published