diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2021-04-21 18:40:19 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2021-04-22 16:53:43 +0300 |
commit | b9b00c714e5d6708e408b6dd2239bb38a6b853de (patch) | |
tree | c2221002837b486743a6eed4c7e0a1898a71a79e | |
parent | 4881c2cf98506313876c299b6e4937041f314474 (diff) | |
download | meson-b9b00c714e5d6708e408b6dd2239bb38a6b853de.zip meson-b9b00c714e5d6708e408b6dd2239bb38a6b853de.tar.gz meson-b9b00c714e5d6708e408b6dd2239bb38a6b853de.tar.bz2 |
Xcode: use native path naming scheme.
-rw-r--r-- | test cases/common/141 custom target multiple outputs/meson.build | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/test cases/common/141 custom target multiple outputs/meson.build b/test cases/common/141 custom target multiple outputs/meson.build index 382c9b2..3030505 100644 --- a/test cases/common/141 custom target multiple outputs/meson.build +++ b/test cases/common/141 custom target multiple outputs/meson.build @@ -32,8 +32,13 @@ foreach i : targets.to_list() paths += i.full_path() endforeach +# The Xcode backend has a different output naming scheme. +if meson.backend() == 'xcode' + assert(paths == [meson.project_build_root() / get_option('buildtype') / 'second.h', + meson.project_build_root() / get_option('buildtype') / 'second.sh']) + # Skip on Windows because paths are not identical, '/' VS '\'. -if host_machine.system() != 'windows' +elif host_machine.system() != 'windows' assert(paths == [meson.current_build_dir() / 'second.h', meson.current_build_dir() / 'second.sh']) endif |