mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-20 02:40:03 +02:00
cleaning
This commit is contained in:
parent
4e4f06560c
commit
32662baef8
@ -39,40 +39,7 @@ add_custom_target(format-check
|
|||||||
|
|
||||||
|
|
||||||
add_custom_target(
|
add_custom_target(
|
||||||
sf
|
listformatfiles
|
||||||
COMMAND
|
COMMAND
|
||||||
echo ${ALL_SOURCE_FILES}
|
echo ${ALL_SOURCE_FILES}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
add_custom_target( list
|
|
||||||
COMMAND
|
|
||||||
foreach (SOURCE_FILE ${ALL_SOURCE_FILES})
|
|
||||||
message(${SOURCE_FILE})
|
|
||||||
endforeach ()
|
|
||||||
)
|
|
||||||
|
|
||||||
# # Get the path to this file
|
|
||||||
# get_filename_component(_clangcheckpath ${CMAKE_CURRENT_LIST_FILE} PATH)
|
|
||||||
# # have at least one here by default
|
|
||||||
# set(CHANGED_FILE_EXTENSIONS ".cpp")
|
|
||||||
# foreach(EXTENSION ${ClangFormat_CXX_FILE_EXTENSIONS})
|
|
||||||
# set(CHANGED_FILE_EXTENSIONS "${CHANGED_FILE_EXTENSIONS},${EXTENSION}" )
|
|
||||||
# endforeach()
|
|
||||||
|
|
||||||
# set(EXCLUDE_PATTERN_ARGS)
|
|
||||||
# foreach(EXCLUDE_PATTERN ${ClangFormat_EXCLUDE_PATTERNS})
|
|
||||||
# list(APPEND EXCLUDE_PATTERN_ARGS "--exclude=${EXCLUDE_PATTERN}")
|
|
||||||
# endforeach()
|
|
||||||
|
|
||||||
# # call the script to check changed files in git
|
|
||||||
# add_custom_target(format-check-changed
|
|
||||||
# COMMENT "Checking changed files in git"
|
|
||||||
# WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
|
|
||||||
# COMMAND ${_clangcheckpath}/../scripts/clang-format-check-changed.py
|
|
||||||
# --file-extensions \"${CHANGED_FILE_EXTENSIONS}\"
|
|
||||||
# ${EXCLUDE_PATTERN_ARGS}
|
|
||||||
# --clang-format-bin ${ClangFormat_BIN}
|
|
||||||
# )
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user