Files
compute-runtime/scripts/lint/CMakeLists.txt
Mateusz Jablonski 720326fd6a Reorganize VS solution tree
Move scripts targets to neo scripts folder
Move spirv targets to shared builtins folder
Move compute_runtime_mockable_extra to ze_intel_gpu folder

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-11-23 19:06:20 +01:00

28 lines
906 B
CMake

#
# Copyright (C) 2018-2020 Intel Corporation
#
# SPDX-License-Identifier: MIT
#
if(IS_DIRECTORY ${NEO_SOURCE_DIR}/.git)
add_custom_target(lint
${NEO_SOURCE_DIR}/scripts/lint${BRANCH_DIR_SUFFIX}/set_copyright.sh
WORKING_DIRECTORY ${NEO_SOURCE_DIR}
)
set_target_properties(lint PROPERTIES
EXCLUDE_FROM_DEFAULT_BUILD TRUE
EXCLUDE_FROM_ALL TRUE
FOLDER ${NEO_SCRIPT_PROJECTS_FOLDER}
)
add_custom_target(lint_head
${NEO_SOURCE_DIR}/scripts/lint${BRANCH_DIR_SUFFIX}/set_copyright.sh HEAD
WORKING_DIRECTORY ${NEO_SOURCE_DIR}
)
set_target_properties(lint_head PROPERTIES
EXCLUDE_FROM_DEFAULT_BUILD TRUE
EXCLUDE_FROM_ALL TRUE
FOLDER ${NEO_SCRIPT_PROJECTS_FOLDER}
)
endif()