Skip to content
  • Alexander Neundorf's avatar
    · 55f11b34
    Alexander Neundorf authored
    ENH: add option to FILE(STRINGS NO_HEX_CONVERSION) to disable automatic
    conversion of hex and srec files to binary.
    Without this automatic conversion, everywhere where a compiled file is parsed for strings the
    a file(HEX2BIN somefile binfile) command has to be added otherwise it will
    not work for these compilers. I tried this with DetermineCompiler and
    CheckTypeSize and nobody will do this except the users who work with such
    compilers. For them it will break if they don't add this conversion command
    in all these places.
    If FILE(STRINGS) is used with a text file, it
    will in most cases still work as expected, since it will only convert hex
    and srec files. If a user actually wants to get text out of hex files, he
    knows what he's doing and will see the hint in the documentation.
    
    Anyway, it should work without having to create a temporary file, will work
    on this later.
    
    Alex
    55f11b34