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.

12 lines
431 B

  1. # CMake script file to process a text file by wrapping every line in double quotes.
  2. # Input file must not abuse quotes, staying with single quotes is probably best.
  3. set( lines "" )
  4. file( STRINGS ${inputFile} lines )
  5. file( WRITE ${outputFile} "// Do not edit this file, it is autogenerated by CMake from an HTML file\n" )
  6. foreach( line ${lines} )
  7. file( APPEND ${outputFile} "\"" ${line} "\"\n" )
  8. endforeach( line ${lines} )