gflags_strip_flags_test.cmake 270 B

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