File: meson.build

package info (click to toggle)
directx-headers 1.614.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,932 kB
  • sloc: ansic: 45,008; cpp: 10,581; makefile: 5
file content (13 lines) | stat: -rw-r--r-- 518 bytes parent folder | download | duplicates (2)
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