You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
418 B
15 lines
418 B
execute_process(COMMAND ${DUMP_COMMAND} ${DUMP_ARGS} ${TEST_LIBRARY_PATH}
|
|
RESULT_VARIABLE RESULT
|
|
OUTPUT_VARIABLE OUTPUT
|
|
ERROR_VARIABLE ERROR
|
|
)
|
|
|
|
if(NOT "${RESULT}" STREQUAL "0")
|
|
message(FATAL_ERROR "${DUMP_COMMAND} failed [${RESULT}] [${OUTPUT}] [${ERROR}]")
|
|
endif()
|
|
|
|
if("${OUTPUT}" MATCHES "${SYMBOL_NAME}")
|
|
message(FATAL_ERROR
|
|
"The '${SYMBOL_NAME}' symbol is defined; device linking occurred!")
|
|
endif()
|