Skip to content

A cross-platform c++20 module library to abstract the creation of a webgpu renderer and other tools to help in creating a game engine

License

Notifications You must be signed in to change notification settings

Diyou/Diyou.Lib

Repository files navigation

Diyou.Lib

Requirements

  • cmake > 3.28
  • clang > 17

Usage

As a general entry-point See: Template

Building

On command-line:

#list available presets with
#> cmake --list-presets
cmake --preset=Debug::Emscripten && cmake --build --preset=Debug::Emscripten

Available Presets

  • Debug::Unix (clang + Ninja)
  • Release::Unix (clang + Ninja)
  • Debug::Windows (MSVC)
  • Release::Windows (MSVC)
  • Debug::Emscripten (emcc + Ninja)
  • Release::Emscripten (emcc + Ninja)

In vscode with cmake-tools

Select a Configuration and Build Preset from the Status bar
Or view Command Palette [CTRL+Shift+P]

  • CMake: Select Configure Preset
  • CMake: Configure
  • CMake: Build [F7]

Testing Web-Target [emscripten]

On command-line

.cache/emsdk/upstream/emscripten/emrun --hostname=localhost --no_browser build/Debug-Emscripten/Examples

In vscode

About

A cross-platform c++20 module library to abstract the creation of a webgpu renderer and other tools to help in creating a game engine

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published