mirror of
https://github.com/avast/retdec.git
synced 2024-12-18 02:48:01 +00:00
cmake: use STATUS in all of our messages
This commit is contained in:
parent
6f9f518ed1
commit
af6eabbe97
4
deps/capstone/patch.cmake
vendored
4
deps/capstone/patch.cmake
vendored
@ -12,8 +12,8 @@ string(REPLACE
|
||||
)
|
||||
|
||||
if("${new_content}" STREQUAL "${content}")
|
||||
message("-- Patching: ${full_path} skipped")
|
||||
message(STATUS "-- Patching: ${full_path} skipped")
|
||||
else()
|
||||
message("-- Patching: ${full_path} patched")
|
||||
message(STATUS "-- Patching: ${full_path} patched")
|
||||
file(WRITE "${full_path}" "${new_content}")
|
||||
endif()
|
||||
|
8
deps/yara/patch.cmake
vendored
8
deps/yara/patch.cmake
vendored
@ -118,9 +118,9 @@ function(patch_vcxproj file)
|
||||
endif()
|
||||
|
||||
if("${new_content}" STREQUAL "${content}")
|
||||
message("-- Patching: ${file} skipped")
|
||||
message(STATUS "-- Patching: ${file} skipped")
|
||||
else()
|
||||
message("-- Patching: ${file} patched")
|
||||
message(STATUS "-- Patching: ${file} patched")
|
||||
file(WRITE "${file}" "${new_content}")
|
||||
endif()
|
||||
endfunction()
|
||||
@ -141,9 +141,9 @@ function(patch_dotnet file)
|
||||
)
|
||||
|
||||
if("${new_content}" STREQUAL "${content}")
|
||||
message("-- Patching: ${file} skipped")
|
||||
message(STATUS "-- Patching: ${file} skipped")
|
||||
else()
|
||||
message("-- Patching: ${file} patched")
|
||||
message(STATUS "-- Patching: ${file} patched")
|
||||
file(WRITE "${file}" "${new_content}")
|
||||
endif()
|
||||
endfunction()
|
||||
|
@ -3,4 +3,4 @@ file(READ
|
||||
DOXYGEN_LOG_CONTENT
|
||||
)
|
||||
|
||||
message("${DOXYGEN_LOG_CONTENT}")
|
||||
message(STATUS "${DOXYGEN_LOG_CONTENT}")
|
||||
|
@ -31,13 +31,13 @@ target_include_directories(utils
|
||||
# We may need to link filesystem library manually.
|
||||
find_library(STD_CPP_FS stdc++fs)
|
||||
if (STD_CPP_FS)
|
||||
message("-- Linking with ${STD_CPP_FS} library")
|
||||
message(STATUS "-- Linking with ${STD_CPP_FS} library")
|
||||
target_link_libraries(utils
|
||||
PRIVATE
|
||||
stdc++fs
|
||||
)
|
||||
else()
|
||||
message("-- Library stdc++fs NOT FOUND -> linking utils without stdc++fs library")
|
||||
message(STATUS "-- Library stdc++fs NOT FOUND -> linking utils without stdc++fs library")
|
||||
endif()
|
||||
|
||||
# Disable the min() and max() macros to prevent errors when using e.g.
|
||||
|
Loading…
Reference in New Issue
Block a user