cococry / leif

Minimal, configurable & GPU accelerated Immediate Mode UI Library written with modern OpenGL
836 stars 36 forks source link

Visual Studio 2022/2019 instead of vscode? #16

Open tallysucks opened 5 months ago

tallysucks commented 5 months ago

This isnt an issue, more of a question, but i was wondering if it was possible to add leif to a visual studio project like how you can with imgui.

tallysucks commented 5 months ago

oh side note, if you want to communicate directly my discord is "tallysucks."

cococry commented 5 months ago

hey there, so at the moment, the is no windows build for leif so what you would have to do is try and build your static library from leif.c (which you would have to link to the dependencies of leif which you would also have to build manually) and than create your visual studio project, link it with the leif .lib file and GLFW .lib fil and add it to your include paths. You would also need to link your project with the built cglm and libclipboard.

CrunchyToaster commented 3 months ago

Do you have a Makefile or something for that because i have been struggling to make it run on windows in visual studio.