Files
compute-runtime/target_unit_tests/CMakeLists.txt
Mateusz Jablonski d2a4af9d9d CMake cleanup: move opencl logic to opencl folder
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-11-12 12:23:45 +01:00

25 lines
661 B
CMake

#
# Copyright (C) 2020-2021 Intel Corporation
#
# SPDX-License-Identifier: MIT
#
set(BUILT_IN_KERNEL_DIR "${NEO_SOURCE_DIR}/shared/source/built_ins")
set(PLATFORM_SPECIFIC_TEST_TARGETS_FOLDER ult_product_targets)
if(NOT TARGET run_mt_unit_tests)
add_custom_target(run_mt_unit_tests)
endif()
if(NOT TARGET run_unit_tests)
add_custom_target(run_unit_tests ALL)
set_target_properties(run_unit_tests PROPERTIES FOLDER ${PLATFORM_SPECIFIC_TEST_TARGETS_FOLDER})
endif()
if(NOT TARGET unit_tests)
add_custom_target(unit_tests ALL)
set_target_properties(unit_tests PROPERTIES FOLDER ${PLATFORM_SPECIFIC_TEST_TARGETS_FOLDER})
endif()
add_subdirectories()