zhifu gao
2024-03-04 44a6b59468c552e5e554d1e7234efb5dcab0e0b4
1
2
3
4
5
6
7
if (NOT BINARY)
  message (FATAL_ERROR "BINARY file to check not specified!")
endif ()
file (STRINGS "${BINARY}" strings REGEX "This text should be stripped out")
if (strings)
  message (FATAL_ERROR "Text not stripped from binary like it should be: ${BINARY}")
endif ()