ok actually this was the way to do windows GUI things in meson

This commit is contained in:
Stepland 2023-07-28 15:01:59 +02:00
parent c3e797f9e0
commit 2943330e84

View File

@ -52,10 +52,6 @@ foreach lib, lib_sources : include_sources
sources += lib_sources
endforeach
if target_machine.system() == 'windows'
add_project_arguments('-mwindows', language : 'cpp')
endif
executable(
'FEIS',
sources: sources,
@ -64,4 +60,5 @@ executable(
inc,
configuration_inc,
],
win_subsystem: 'windows' # mark as GUI app when compiling for windows, hides the console amongst other things
)