Skip to content

Commit be45bef

Browse files
add support for GLFW3
1 parent d9acf89 commit be45bef

File tree

8 files changed

+6241
-3
lines changed

8 files changed

+6241
-3
lines changed

.cirrus.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ task:
2727
- make -j8
2828
- sudo make install
2929
build_script:
30+
- sudo cp -r raylib-c/src/external/glfw/include/GLFW /usr/local/include/
3031
- sudo cp physac/src/physac.h /usr/local/include/
3132
- sudo cp raygui/src/raygui.h /usr/local/include/
3233
- /opt/homebrew/bin/python${PY_VER} -m pip install --break-system-packages --upgrade pip

.github/workflows/build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ jobs:
4444
4545
- name: Copy extras
4646
run: |
47+
sudo cp -r raylib-c/src/external/glfw/include/GLFW /usr/local/include/
4748
sudo cp physac/src/physac.h /usr/local/include/
4849
sudo cp raygui/src/raygui.h /usr/local/include/
4950
@@ -193,6 +194,7 @@ jobs:
193194
sudo make install
194195
- name: Copy extras
195196
run: |
197+
sudo cp -r raylib-c/src/external/glfw/include/GLFW /usr/local/include/
196198
sudo cp physac/src/physac.h /usr/local/include/
197199
sudo cp raygui/src/raygui.h /usr/local/include/
198200
- name: Build raylib-python-cffi
@@ -325,6 +327,7 @@ jobs:
325327
sudo make install
326328
- name: Copy extras
327329
run: |
330+
sudo cp -r raylib-c/src/external/glfw/include/GLFW /usr/local/include/
328331
sudo cp physac/src/physac.h /usr/local/include/
329332
sudo cp raygui/src/raygui.h /usr/local/include/
330333

create_enums.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ def process(filename):
3333

3434
process("raylib.json")
3535
process("raygui.json")
36-
36+
process("glfw3.json")

create_stub_pyray.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
known_functions = {}
2121
known_structs = {}
22-
for filename in (Path("raylib.json"), Path("raymath.json"), Path("rlgl.json"), Path("raygui.json"), Path("physac.json")):
22+
for filename in (Path("raylib.json"), Path("raymath.json"), Path("rlgl.json"), Path("raygui.json"), Path("physac.json"), Path("glfw3.json")):
2323
f = open(filename, "r")
2424
js = json.load(f)
2525
for fn in js["functions"]:

0 commit comments

Comments
 (0)