[CMake] CMake: Problem with reading files with semicolons
wedekind
wedekind at caesar.de
Wed Jan 25 13:21:31 EST 2006
Hi all,
a quick question for CMake-gurus: Why do all semicolons disappear after
reading a file using
FILE(READ c:/some/file.txt TheFile)
???
If I print the output variable TheFile like this:
MESSAGE(${TheFile})
it is missing all semicolons! That is destroying my source files while I am
about to add something to them before a build...
Any idea how I can successfully read a file (with semicolons) and write it
back with some changes?
Thanks for any hint or suggestion
Marco
More information about the CMake
mailing list