|
|
@ -29,7 +29,7 @@ endif
|
|
|
|
ws2_dep = compiler.find_library('ws2_32', required: false)
|
|
|
|
ws2_dep = compiler.find_library('ws2_32', required: false)
|
|
|
|
winmm = compiler.find_library('winmm', required: false)
|
|
|
|
winmm = compiler.find_library('winmm', required: false)
|
|
|
|
if build_machine.system() == 'windows'
|
|
|
|
if build_machine.system() == 'windows'
|
|
|
|
add_global_arguments('-Wl,--subsystem,windows', '-mwindows', language: ['cpp', 'c']) # Prevent opening console when game is run
|
|
|
|
add_project_arguments('-Wl,--subsystem,windows', '-mwindows', language: ['cpp', 'c']) # Prevent opening console when game is run
|
|
|
|
|
|
|
|
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|