Debian Codegraph @

Tests/RunCMake/Android/check_binary.cmake

raw
1 if(NOT EXISTS "${file}")
2 message(FATAL_ERROR "Missing file:\n ${file}")
3 endif()
4 execute_process(COMMAND "${objdump}" -p ${file} OUTPUT_VARIABLE out)
5 if(out MATCHES "NEEDED[^\n]*stdc\\+\\+")
6 string(REPLACE "\n" "\n " out " ${out}")
7 message(FATAL_ERROR "File:\n ${file}\ndepends on libstdc++:\n${out}")
8 endif()