Skip to content

Commit

Permalink
get nunavut
Browse files Browse the repository at this point in the history
  • Loading branch information
serges147 committed Oct 16, 2024
1 parent 16b873a commit dc04ad3
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions libcyphal_demo/cmake/modules/Findnnvg.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,10 @@ function(create_dsdl_target ARG_TARGET_NAME
message(STATUS "Enabling variable array capacity override option in generated code.")
endif ()

message(STATUS "XXX: ${NNVG_CMD_ARGS}")

execute_process(COMMAND ${NNVG} --list-outputs ${NNVG_CMD_ARGS}
OUTPUT_VARIABLE OUTPUT_FILES
RESULT_VARIABLE LIST_OUTPUTS_RESULT)

message(STATUS "YYY: ${OUTPUT_FILES}")

if (NOT LIST_OUTPUTS_RESULT EQUAL 0)
message(FATAL_ERROR "Failed to retrieve a list of headers nnvg would "
"generate for the ${ARG_TARGET_NAME} target (${LIST_OUTPUTS_RESULT})"
Expand All @@ -87,8 +83,6 @@ function(create_dsdl_target ARG_TARGET_NAME
" (${NNVG})")
endif ()

message(STATUS "ZZZ: ${INPUT_FILES}")

add_custom_command(OUTPUT ${OUTPUT_FILES}
COMMAND ${NNVG} ${NNVG_CMD_ARGS}
DEPENDS ${INPUT_FILES}
Expand Down

0 comments on commit dc04ad3

Please sign in to comment.