Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,10 @@ osx = ['darwin']
sys_linux = linux.contains(host_machine.system())
sys_bsd = bsd.contains(host_machine.system())
sys_windows = windows.contains(host_machine.system())
sys_windows_native = sys_windows and cc.get_id() in ['msvc', 'clang-cl']
sys_osx = osx.contains(host_machine.system())

if sys_windows and cc.get_id() in ['msvc', 'clang-cl']
if sys_windows_native
pkgconfig = disabler()
else
pkgconfig = import('pkgconfig')
Expand Down Expand Up @@ -101,7 +102,7 @@ endforeach
add_global_arguments(dev_cflags, language: 'c')
add_global_arguments(dev_cflags, language: 'cpp')

if sys_windows
if sys_windows_native
dl = declare_dependency()
m = declare_dependency()

Expand Down Expand Up @@ -491,7 +492,7 @@ subprojects = [
['exactness' ,[] , false, false, true, false, false, false, false, ['eina, evas, eet'], []],
]

if sys_windows
if sys_windows_native
ignored_subprojects = [
# temporarily ignored
'exactness',
Expand Down Expand Up @@ -766,7 +767,7 @@ if get_option('build-examples')
endif

# disabled for windows for now
if not sys_windows
if not sys_windows_native
subdir(join_paths(local_scripts))

meson.add_install_script('meson/meson_modules.sh', module_files)
Expand Down Expand Up @@ -820,7 +821,7 @@ configure_file(

subdir(join_paths('systemd-services'))

if not sys_windows and get_option('dbus')
if not sys_windows_native and get_option('dbus')
subdir(join_paths('dbus-services'))
endif

Expand Down