aboutsummaryrefslogtreecommitdiff
path: root/contrib/DirectX-Headers-1.618.2/googletest/meson.build
blob: a839782e06abe368a1b0b33fc1b3d50453327e39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

gtest = cpp.find_library('gtest', required: false)
gtest_main = cpp.find_library('gtest_main', required: false)

if gtest.found() and gtest_main.found()
  feature_support_test = executable('Feature-Support-Test', 'feature_support_test.cpp',
    dependencies : [gtest, gtest_main, dep_dxheaders, d3d12_lib, dxcore_lib],
    cpp_args : test_compile_opts,
    c_args : test_compile_opts)
  test('Feature-Support-Test', feature_support_test)
endif