mirror of
https://github.com/intel/compute-runtime.git
synced 2025-11-10 05:49:51 +08:00
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>
24 lines
584 B
CMake
24 lines
584 B
CMake
#
|
|
# Copyright (C) 2019-2020 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: MIT
|
|
#
|
|
|
|
if(WIN32)
|
|
set(extension bat)
|
|
else()
|
|
set(extension sh)
|
|
endif()
|
|
|
|
add_custom_target(format_files
|
|
${NEO_SOURCE_DIR}/scripts/format/format.${extension} ${NEO_SOURCE_DIR}
|
|
WORKING_DIRECTORY ${NEO_SOURCE_DIR}
|
|
COMMENT "Formatting changed files"
|
|
)
|
|
|
|
set_target_properties(format_files PROPERTIES
|
|
EXCLUDE_FROM_DEFAULT_BUILD TRUE
|
|
EXCLUDE_FROM_ALL TRUE
|
|
FOLDER ${NEO_SCRIPT_PROJECTS_FOLDER}
|
|
)
|