aboutsummaryrefslogtreecommitdiff
path: root/quote-file.cmake
blob: 6f9159e58bd591cdc32272e729f9ff4ca998acde (plain)
1
2
3
4
file (READ ${input} contents)
string (REPLACE "\n" "\\n\"\n\"" contents "${contents}")
file (WRITE ${output}
	"const char ${var_name}[] = \n\"${contents}\";\n")