forked from AuroraMiddleware/gtk
19ce520c2d
The demos are now built as GUI programs, which will require the presence of WinMain() on Visual Studio builds, unless we specify the entry point. Pass the /entry:mainCRTStartup linker flag on Visual Studio builds for the demo programs so that they can link properly. https://bugzilla.gnome.org/show_bug.cgi?id=773299
21 lines
651 B
Meson
21 lines
651 B
Meson
iconbrowser_sources = [
|
|
'main.c',
|
|
'iconbrowserapp.c',
|
|
'iconbrowserwin.c',
|
|
'iconstore.c'
|
|
]
|
|
|
|
iconbrowser_resources = gnome.compile_resources('iconbrowser_resources',
|
|
'iconbrowser.gresource.xml',
|
|
source_dir: '.')
|
|
|
|
executable('gtk4-icon-browser',
|
|
iconbrowser_sources, iconbrowser_resources,
|
|
dependencies: libgtk_dep,
|
|
include_directories: confinc,
|
|
gui_app: true,
|
|
link_args: extra_demo_ldflags,
|
|
install: true)
|
|
|
|
install_data('gtk4-icon-browser.desktop', install_dir: gtk_applicationsdir)
|