Debian Codegraph @

opencl/test/unit_test/gen12lp/dg1/CMakeLists.txt

raw
1 #
2 # Copyright (C) 2020-2022 Intel Corporation
3 #
4 # SPDX-License-Identifier: MIT
5 #
6
7 if(TESTS_DG1)
8 set(IGDRCL_SRCS_tests_gen12lp_dg1_excludes
9 ${CMAKE_CURRENT_SOURCE_DIR}/excludes_ocl_dg1.cpp
10 )
11 set_property(GLOBAL APPEND PROPERTY IGDRCL_SRCS_tests_excludes ${IGDRCL_SRCS_tests_gen12lp_dg1_excludes})
12
13 set(IGDRCL_SRCS_tests_dg1
14 ${IGDRCL_SRCS_tests_gen12lp_dg1_excludes}
15 ${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
16 ${CMAKE_CURRENT_SOURCE_DIR}/test_cl_device_caps_dg1.cpp
17 )
18 target_sources(igdrcl_tests PRIVATE ${IGDRCL_SRCS_tests_dg1})
19 add_subdirectories()
20 endif()