summaryrefslogtreecommitdiff
path: root/test cases/common/183 partial dependency/external_dependency/meson.build
blob: 4194bb76e3797e88dcfcba2fa53d8fef056965b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# SPDX-License-Identifier: Apache-2.0
# Copyright © 2024 Intel Corporation

# TODO: don't use compile whenever we get includes and compile args separated
dep_zlib_sub = dep_zlib.partial_dependency(compile_args : true, includes : true)

executable(
  'zlib header only test',
  'header_only.c',
  dependencies : dep_zlib_sub,
)

executable(
  'zlib link test',
  'link.c',
  dependencies : [dep_zlib_sub, dep_zlib],
)