Git Product home page Git Product logo

the-forge-premake's Introduction

The Forge Premake

This repository contains a Premake script to generate .sln and .vcxproj files for use in Visual Studio or JetBrains Rider, which you can use to build The-Forge

Currently, all of the Examples build and run on Windows with Vulkan/DX11/DX12 enabled

However, due to lacking the required hardware, I am unable to confirm that Unit_Test 35_VariableRateShading works as intended

The repo also includes a custom module that extends premake to configure and run The-Forge's shader compiler tool as part of a VS/Rider build

Note: I am not a Premake, C++, or The-Forge expert, but if you're looking for a way to integrate The-Forge into your own premake or cmake based build system, I hope that this helps!

Prerequisites

  1. VulkanSDK 1.2.162.0
  2. Windows 10 SDK (10.0.17763.0)
  3. VC++ 2017 version 15.9 v14.16 latest v141 tools

Make sure the VULKAN_SDK environment variable is set to the SDK location. The installer should handle this for you.

While The-Forge's README recommends these versions of the Windows SDK and toolset, I have found that most of the codebase supports higher versions. Feel free to experiment, but if you run into issues, try using the versions listed above.

Build steps

  1. Clone this repo git clone https://github.com/acatxnamedvirtue/the-forge-premake.git
  2. Update the submodule to pull in the source for The-Forge and Custom-Middleware git init && git submodule update
  3. Run The-Forge/PRE_BUILD.bat to download assets needed for the examples
  4. Run GenVS.bat to use the vendored premake5 exe, or run premake5 vs2022 from your terminal
  5. Open The-Forge-Premake.sln in VS or Rider, then build and run any of the Examples

Special Thanks to a few prior art repos:

https://github.com/VoidAnchor/TheForgeTheCmake

https://github.com/rextimmy/the-forge-glfw

https://github.com/learn-computer-graphics/the-forge-sampless

the-forge-premake's People

Contributors

acatxnamedvirtue avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.