zig-sfml-wrapper icon indicating copy to clipboard operation
zig-sfml-wrapper copied to clipboard

Adapt build.zig to other platforms

Open Guigui220D opened this issue 3 years ago • 1 comments

It's only for windows right now

Guigui220D avatar Oct 24 '21 16:10 Guigui220D

It seems to work on linux out of the box too!

Guigui220D avatar Jan 23 '22 18:01 Guigui220D

Actually the build.zig is the most straightforward in linux.. need to find a way to specify the SFML folder for other installations

Guigui220D avatar Jun 11 '24 19:06 Guigui220D

Theres not much point in changing anything, the parent build.zig can call addIncludePath and addLibraryPath on the module after import as shown in the wiki.

Guigui220D avatar Jun 12 '24 18:06 Guigui220D