Improve build.
This commit is contained in:
parent
65e7988002
commit
f989e8fe2d
|
@ -32,8 +32,12 @@ if ("${CLANG_TIDY_SUPPORT}" MATCHES "true")
|
|||
else()
|
||||
# message(FATAL_ERROR "See ${CMAKE_SOURCE_DIR_IPCSDK}/doc.")
|
||||
message(FATAL_ERROR "You set support clang-tidy, but clang-tidy not found.
|
||||
See file to install tools: ${IPC_SDK_PATH}/doc/clang-tidy_user_guide.md
|
||||
Or modify: set(CLANG_TIDY_SUPPORT \"false\") to diable this function in file:${IPC_SDK_PATH}/builde/global_config.cmake")
|
||||
Check path ${LLVM_PATH}/build/bin, weather clang-tidy exist.
|
||||
How to install tools?
|
||||
See ${IPC_SDK_PATH}/doc/clang-tidy_user_guide.md
|
||||
How to disable clang-tidy tool?
|
||||
Modify: set(CLANG_TIDY_SUPPORT \"false\")
|
||||
See:${IPC_SDK_PATH}/builde/global_config.cmake")
|
||||
endif()
|
||||
endif()
|
||||
# find the clang-format tools
|
||||
|
@ -46,7 +50,13 @@ if ("${CLANG_FORMAT_SUPPORT}" MATCHES "true")
|
|||
set(CLANG_FORMAT_EXE ${CLANG_FORMAT_FIND} CACHE STRING INTERNAL)
|
||||
message("CLANG_FORMAT_EXE = ${CLANG_FORMAT_EXE}")
|
||||
else()
|
||||
message(FATAL_ERROR "You set support clang-format, bug clang-format not found.")
|
||||
message(FATAL_ERROR "You set support clang-format, but clang-format not found.
|
||||
Check path ${LLVM_PATH}/build/bin, weather clang-format exist.
|
||||
How to install tools?
|
||||
See ${IPC_SDK_PATH}/doc/clang-tidy_user_guide.md
|
||||
How to disable clang-format tool?
|
||||
Modify: set(CLANG_FORMAT_SUPPORT \"false\")
|
||||
See:${IPC_SDK_PATH}/builde/global_config.cmake")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user