Giter VIP home page Giter VIP logo

Comments (5)

Lachei avatar Lachei commented on August 28, 2024 1

Hi all,
I just wanted to give a quick heads up that i have nearly finished a cmake port of the project: https://github.com/Lachei/Lumen .
If everything goes according to plan I will be able to verify until tomorrow if the project builds fine on Ubunut as well as Windows. The current version compiles and runs fine on Linux Manjaro/Arch.
However i think the standard visual studio sln setup will be broken. Concerning this, @yuphin do you think this is a problem or is a full switch to cmake preferred. After all Visual Studio has full build support with cmake.

Cheers,
Josef

from lumen.

yuphin avatar yuphin commented on August 28, 2024

I'll add a CMakeLists.txt when I test it with Linux.

from lumen.

yuphin avatar yuphin commented on August 28, 2024

Hello Josef, thanks for going out of your way to port the project, I really appreciate it :) . Regarding the VS solution structure, AFAIK the source_group(...) command translates to VS Filters, but the absence of it is not an issue as I can also add them back at a later time.

When you think it's ready, I'd be happy to accept your changes in a PR.

from lumen.

Lachei avatar Lachei commented on August 28, 2024

Ok, i finally finished the port to windows, getting SPIRV-Cross to work took a bit of an effort xD.
I will double check tomorrow if the program still runs on my linux machine and will create the PR afterwards.

The CMake port itself only relies on Vulkan and the Threads library to be found by CMake, all other repositories are downloaded as submodules and compiled with the project. This is necessary as unfortunately the windows and linux Vulkan SDK do not provide the same extensions. While on Linux glslang comes preinstalled with most distros, on Windows there is no glslang but instead shaderc and SPIRV-Cross. One idea for the future to strip off a lot of boilerplate libraries is to write everything only using glslang and making it the only submodule required. This however needs some code refactoring which i did not want to tackle right now.

I further added an example_config folder which describes a OS independent (at least for windows and linux) config for VSCode. This is especially useful to quickliy get the project not just compiling, but also up for debugging (Especially getting the relative paths to the assets right can get tricky for beginners). VSCode was chosen as i personally find it the best OS indepent developing environment right now.

Cheers,
Josef

from lumen.

yuphin avatar yuphin commented on August 28, 2024

We now have a proper CMake support thanks to @Lachei. Closing this issue now.

from lumen.

Related Issues (20)

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.