Skip to content

Commit f51f746

Browse files
re-add other headers to windows build
1 parent a4af579 commit f51f746

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

raylib/build.py

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -170,11 +170,17 @@ def build_unix():
170170
def build_windows():
171171
print("BUILDING FOR WINDOWS")
172172
ffibuilder.cdef(open("raylib/raylib.h.modified").read())
173-
#ffibuilder.cdef(open("raylib/rlgl.h.modified").read())
174-
#ffibuilder.cdef(open("raylib/raygui.h.modified").read())
175-
#ffibuilder.cdef(open("raylib/physac.h.modified").read())
173+
ffibuilder.cdef(open("raylib/rlgl.h.modified").read())
174+
ffibuilder.cdef(open("raylib/raygui.h.modified").read())
175+
ffibuilder.cdef(open("raylib/physac.h.modified").read())
176176
ffibuilder.set_source("raylib._raylib_cffi", """
177-
#include "raylib.h"
177+
#include "raylib.h"
178+
#include "rlgl.h"
179+
#define RAYGUI_IMPLEMENTATION
180+
#define RAYGUI_SUPPORT_RICONS
181+
#include "extras/raygui.h"
182+
#define PHYSAC_IMPLEMENTATION
183+
#include "extras/physac.h"
178184
""",
179185
extra_link_args=['/NODEFAULTLIB:MSVCRTD'],
180186
libraries=['raylib', 'gdi32', 'shell32', 'user32', 'OpenGL32', 'winmm'],

0 commit comments

Comments
 (0)