[CMake] Putting # character in the custom_command arguments

Filip Brcic brcha at users.sourceforge.net
Sun Jun 3 17:57:16 EDT 2007


Дана субота 02 јун 2007, Pau Garcia i Quiles је написао(ла):
> Hello,
>
> Have you tried to escape it with '\'?
>
> grep '\#define' somefile | sed -e 's/\$//g' > someotherfile

Thanx, that solved my problem. I didn't realize that you can escape the 
comment character :)

-- 
Filip Brcic <brcha at users.sourceforge.net>
WWWeb: http://purl.org/NET/brcha/home/
Jabber: brcha at kdetalk.net
Jabber: brcha at elitesecurity.org
Jabber: fbrcic at gmail.com
ICQ# 40994923
Yahoo! brcha
MSN: brcha at users.sourceforge.net


More information about the CMake mailing list