Skip to content

Commit

Permalink
Improved GLFW for installation and compilation with GLFW in standard …
Browse files Browse the repository at this point in the history
…library.
  • Loading branch information
nthnn committed Dec 13, 2024
1 parent 3adb2b4 commit 017122f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
cc_files = []

lib_headers = [
'-Ilib/glfw/include',
'-Ilib/QuickDigest5/include',
'-Ilib/MyShell/include',
'-Ilib/SHA/src'
Expand Down Expand Up @@ -173,8 +174,6 @@ def include_sha_headers():
'-y', 'libglfw3-dev', 'libgl1-mesa-dev'
])

lib_headers += ['-Itemp/glfw-3.4']

if PLATFORM == 'Windows':
if ARCH == '64bit':
download_file(get_glfw_file('win64'), 'glfw.zip')
Expand Down Expand Up @@ -212,7 +211,6 @@ def include_sha_headers():

include_sha_headers()
glfwDll = os.path.join('temp', 'glfw-3.4', 'lib-mingw-w64', 'glfw3.dll')
lib_headers += ['-Itemp/glfw-3.4']
lib_source_files += [glfwDll]
lib_build_args = [
'g++', '-static', '-static-libgcc', '-Iinclude',
Expand Down

0 comments on commit 017122f

Please sign in to comment.