Skip to content

Commit 124a612

Browse files
committed
build: fix for PL changes
1 parent 7c8bd2a commit 124a612

2 files changed

Lines changed: 13 additions & 13 deletions

File tree

.vscode/c_cpp_properties.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
"${workspaceFolder}/../pilotlight/extensions",
1111
"${workspaceFolder}/../pilotlight/src",
1212
"${workspaceFolder}/../pilotlight/shaders",
13-
"${workspaceFolder}/../pilotlight/dependencies/stb",
14-
"${workspaceFolder}/../pilotlight/dependencies/cgltf",
15-
"${workspaceFolder}/../pilotlight/dependencies/imgui",
16-
"${workspaceFolder}/../pilotlight/dependencies/glfw/include",
13+
"${workspaceFolder}/../pilotlight/thirdparty/stb",
14+
"${workspaceFolder}/../pilotlight/thirdparty/cgltf",
15+
"${workspaceFolder}/../pilotlight/thirdparty/imgui",
16+
"${workspaceFolder}/../pilotlight/thirdparty/glfw/include",
1717
"${workspaceFolder}/dependencies/cpython",
1818
"${workspaceFolder}/dependencies/cpython/Include",
1919
"${workspaceFolder}/dependencies/cpython/PC",

scripts/gen_build.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@
4242
"../../pilotlight/extensions",
4343
"../../pilotlight/src",
4444
"../../pilotlight/shaders",
45-
"../../pilotlight/dependencies/stb",
46-
"../../pilotlight/dependencies/glfw/include/",
47-
"../../pilotlight/dependencies/imgui/",
48-
"../../pilotlight/dependencies/cgltf",
45+
"../../pilotlight/thirdparty/stb",
46+
"../../pilotlight/thirdparty/glfw/include/",
47+
"../../pilotlight/thirdparty/imgui/",
48+
"../../pilotlight/thirdparty/cgltf",
4949
"../dependencies/cpython/",
5050
"../dependencies/cpython/Include/",
5151
"../dependencies/cpython/build/debug/"
@@ -95,8 +95,8 @@
9595

9696
with pl.target("glfw", pl.TargetType.STATIC_LIBRARY, False, False):
9797

98-
pl.add_source_files("../../pilotlight/dependencies/glfw/src/glfw_unity.c")
99-
pl.add_source_files("../../pilotlight/dependencies/glfw/src/null_window.c")
98+
pl.add_source_files("../../pilotlight/thirdparty/glfw/src/glfw_unity.c")
99+
pl.add_source_files("../../pilotlight/thirdparty/glfw/src/null_window.c")
100100

101101
with pl.configuration("debug"):
102102

@@ -117,7 +117,7 @@
117117
pl.add_dynamic_link_libraries("xcb", "X11", "X11-xcb", "xkbcommon", "pthread", "xcb-cursor", "vulkan")
118118
pl.add_link_directories('$VULKAN_SDK/lib')
119119
pl.add_compiler_flags("-std=gnu99")
120-
pl.add_source_files("../../pilotlight/dependencies/glfw/src/posix_poll.c")
120+
pl.add_source_files("../../pilotlight/thirdparty/glfw/src/posix_poll.c")
121121

122122
# apple
123123
with pl.platform("Darwin"):
@@ -145,7 +145,7 @@
145145
pl.add_dynamic_link_libraries("xcb", "X11", "X11-xcb", "xkbcommon", "pthread", "xcb-cursor", "vulkan")
146146
pl.add_link_directories('$VULKAN_SDK/lib')
147147
pl.add_compiler_flags("-std=gnu99")
148-
pl.add_source_files("../../pilotlight/dependencies/glfw/src/posix_poll.c")
148+
pl.add_source_files("../../pilotlight/thirdparty/glfw/src/posix_poll.c")
149149

150150
# apple
151151
with pl.platform("Darwin"):
@@ -161,7 +161,7 @@
161161
with pl.target("imgui", pl.TargetType.STATIC_LIBRARY, False, False):
162162

163163
# imgui & imgui
164-
pl.add_source_files("../../pilotlight/dependencies/imgui/imgui_unity.cpp")
164+
pl.add_source_files("../../pilotlight/thirdparty/imgui/imgui_unity.cpp")
165165

166166
# default config
167167
with pl.configuration("debug"):

0 commit comments

Comments
 (0)