cmake: move OUTPUT argument in the add_custom_command() line

For greppability.

Closes #17658
This commit is contained in:
Viktor Szakats 2025-06-17 21:08:02 +02:00
parent a282d89a8a
commit eb01ac3fc8
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
6 changed files with 8 additions and 16 deletions

View file

@ -26,8 +26,7 @@
curl_transform_makefile_inc("Makefile.inc" "${CMAKE_CURRENT_BINARY_DIR}/Makefile.inc.cmake")
include("${CMAKE_CURRENT_BINARY_DIR}/Makefile.inc.cmake")
add_custom_command(
OUTPUT "${BUNDLE_SRC}"
add_custom_command(OUTPUT "${BUNDLE_SRC}"
COMMAND ${PERL_EXECUTABLE} "${PROJECT_SOURCE_DIR}/scripts/mk-unity.pl"
--include ${UTILS} ${CURLX_SRCS} --test ${TESTFILES}
${CURL_MK_UNITY_OPTION} --srcdir "${CMAKE_CURRENT_SOURCE_DIR}" > "${BUNDLE_SRC}"