Removed files related to cross-compilation.
I had a ton of issues related to cross-compilation (libraries not found, clashing function names with raylib, improper linking), and I realized that it's too much work to cross-compile, _and_ I'm using a build system. Instead, I'm probably just going to use my Windows VM to compile for Windows. I still haven't decided what to do for Mac, though.
This commit is contained in:
BIN
libraylib.a
BIN
libraylib.a
Binary file not shown.
BIN
libraylibdll.a
BIN
libraylibdll.a
Binary file not shown.
@@ -4,13 +4,6 @@ add_global_arguments('-g', '-Wall', '-pedantic', '-Wno-unused-function', '-Werro
|
|||||||
raylib = dependency('raylib', native: true)
|
raylib = dependency('raylib', native: true)
|
||||||
static_lib_path = ''
|
static_lib_path = ''
|
||||||
|
|
||||||
if meson.is_cross_build()
|
|
||||||
add_project_link_arguments('-L /usr/x86_64-w64-mingw32/lib/', '-lws2_32', '-lwinmm', '-I/usr/x86_64-w64-mingw32/include', language: ['c', 'cpp'])
|
|
||||||
raylib = declare_dependency(
|
|
||||||
link_args: ['-lraylib'],
|
|
||||||
include_directories: include_directories('/usr/x86_64-w64-mingw32/include/'))
|
|
||||||
endif
|
|
||||||
|
|
||||||
executable('pong',
|
executable('pong',
|
||||||
'main.cpp', 'easysock.cpp', 'sock.cpp','paddle.cpp', 'ball.cpp', 'numeric_base.cpp', 'connect_code.cpp', 'server.cpp', 'client.cpp',
|
'main.cpp', 'easysock.cpp', 'sock.cpp','paddle.cpp', 'ball.cpp', 'numeric_base.cpp', 'connect_code.cpp', 'server.cpp', 'client.cpp',
|
||||||
'serialization.c',
|
'serialization.c',
|
||||||
|
BIN
raylib.dll
BIN
raylib.dll
Binary file not shown.
@@ -1,12 +0,0 @@
|
|||||||
[binaries]
|
|
||||||
c = 'x86_64-w64-mingw32-g++'
|
|
||||||
cpp = 'x86_64-w64-mingw32-g++'
|
|
||||||
ar = 'x86_64-w64-mingw32-ar'
|
|
||||||
strip = 'x86_64-w64-mingw32-strip'
|
|
||||||
exe_wrapper = 'wine64'
|
|
||||||
|
|
||||||
[host_machine]
|
|
||||||
system = 'windows'
|
|
||||||
cpu_family = 'x86_64'
|
|
||||||
cpu = 'x86_64'
|
|
||||||
endian = 'little'
|
|
Reference in New Issue
Block a user