Files
compute-runtime/shared/CMakeLists.txt
Warchulski, Jaroslaw cf7e7fbc4e CMake: don't include shared/test/unit_test when shared tests are skipped
opencl/test/unit_test/gen9/hw_helper_tests_gen9.cpp -> unit_test/gen9
opencl/test/unit_test/gen11/hw_helper_tests_gen11.cpp -> unit_test/gen11
unit_test/device_binary_format/elf/elf_tests_data.h -> common/device_binary/elf

Related-To: NEO-6524
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
2022-08-25 10:48:37 +02:00

25 lines
652 B
CMake

#
# Copyright (C) 2021-2022 Intel Corporation
#
# SPDX-License-Identifier: MIT
#
add_subdirectory(source)
add_subdirectory(generate_cpp_array)
set(SHARED_TEST_PROJECTS_FOLDER "neo shared")
include(${NEO_SOURCE_DIR}/cmake/setup_ult_global_flags.cmake)
if(NOT NEO_SKIP_UNIT_TESTS)
add_custom_target(unit_tests)
add_subdirectory(test/common "${NEO_BUILD_DIR}/shared/test/common")
if(NOT NEO_SKIP_SHARED_UNIT_TESTS)
add_subdirectory(test/unit_test)
endif()
endif()
set(TOOLS_DIR "${CMAKE_CURRENT_SOURCE_DIR}/tools${BRANCH_DIR_SUFFIX}")
if(EXISTS ${TOOLS_DIR} AND EXISTS ${TOOLS_DIR}/CMakeLists.txt)
add_subdirectory(${TOOLS_DIR})
endif()