X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;ds=sidebyside;f=app%2Fmeson.build;h=93d8c15032225956500c2ea6e60f3ca7c9de4be8;hb=23f7ec1d9b7ccfcfb9b9f67d33cf6cbf7f5034d3;hp=35e53861bb4b07e08727e3a59b1d346cde678f96;hpb=23bd8128d601e5d36aac2857b31e38c7c1d4d49e;p=dpdk.git diff --git a/app/meson.build b/app/meson.build index 35e53861bb..93d8c15032 100644 --- a/app/meson.build +++ b/app/meson.build @@ -1,11 +1,8 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017-2019 Intel Corporation -if is_windows - subdir_done() -endif - apps = [ + 'dumpcap', 'pdump', 'proc-info', 'test-acl', @@ -16,6 +13,7 @@ apps = [ 'test-eventdev', 'test-fib', 'test-flow-perf', + 'test-gpudev', 'test-pipeline', 'test-pmd', 'test-regex', @@ -45,15 +43,23 @@ foreach app:apps subdir(name) + if build + dep_objs = [] + foreach d:deps + var_name = get_option('default_library') + '_rte_' + d + if not is_variable(var_name) + build = false + message('Missing dependency "@0@" for app "@1@"'.format(d, name)) + break + endif + dep_objs += [get_variable(var_name)] + endforeach + endif + if not build continue endif - dep_objs = [] - foreach d:deps - dep_objs += get_variable(get_option('default_library') + '_rte_' + d) - endforeach - link_libs = [] if get_option('default_library') == 'static' link_libs = dpdk_static_libraries + dpdk_drivers @@ -64,7 +70,7 @@ foreach app:apps c_args: cflags, link_args: ldflags, link_whole: link_libs, - dependencies: dep_objs, + dependencies: ext_deps + dep_objs, include_directories: includes, install_rpath: join_paths(get_option('prefix'), driver_install_path), install: true)