mirror of
https://gitlab.com/square-game-liberation-front/F.E.I.S.git
synced 2025-03-01 07:50:25 +01:00
ok actually this was the way to do windows GUI things in meson
This commit is contained in:
parent
c3e797f9e0
commit
2943330e84
@ -52,10 +52,6 @@ foreach lib, lib_sources : include_sources
|
|||||||
sources += lib_sources
|
sources += lib_sources
|
||||||
endforeach
|
endforeach
|
||||||
|
|
||||||
if target_machine.system() == 'windows'
|
|
||||||
add_project_arguments('-mwindows', language : 'cpp')
|
|
||||||
endif
|
|
||||||
|
|
||||||
executable(
|
executable(
|
||||||
'FEIS',
|
'FEIS',
|
||||||
sources: sources,
|
sources: sources,
|
||||||
@ -64,4 +60,5 @@ executable(
|
|||||||
inc,
|
inc,
|
||||||
configuration_inc,
|
configuration_inc,
|
||||||
],
|
],
|
||||||
|
win_subsystem: 'windows' # mark as GUI app when compiling for windows, hides the console amongst other things
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user