forked from OctaForge/OctaCore
only build client for now
parent
44be4f3b4b
commit
7241592895
|
@ -7,4 +7,3 @@ add_global_arguments('-fsigned-char', language: 'cpp')
|
||||||
|
|
||||||
subdir('enet')
|
subdir('enet')
|
||||||
subdir('client')
|
subdir('client')
|
||||||
subdir('server')
|
|
|
@ -1,24 +0,0 @@
|
||||||
client_src = [
|
|
||||||
'../shared/crypto.cc',
|
|
||||||
'../shared/stream.cc',
|
|
||||||
'../shared/tools.cc',
|
|
||||||
'../engine/command.cc',
|
|
||||||
'../engine/server.cc',
|
|
||||||
'../engine/worldio.cc',
|
|
||||||
'../game/entities.cc',
|
|
||||||
'../game/server.cc'
|
|
||||||
]
|
|
||||||
|
|
||||||
threads_dep = dependency('threads')
|
|
||||||
zlib_dep = dependency('zlib')
|
|
||||||
|
|
||||||
executable('native_server',
|
|
||||||
client_src,
|
|
||||||
dependencies: [
|
|
||||||
threads_dep, libenet, zlib_dep
|
|
||||||
],
|
|
||||||
include_directories: octacore_includes,
|
|
||||||
cpp_args: ['-DSTANDALONE'],
|
|
||||||
install: true,
|
|
||||||
install_dir: join_paths(meson.source_root(), 'bin_unix')
|
|
||||||
)
|
|
Loading…
Reference in New Issue