[CMake] escape the dollar sign

Vikas Kumar vikasnkumar at users.sourceforge.net
Tue Jun 6 13:08:42 EDT 2006


I tried that. It did not work
I even tried "Foo\$Bar.class" that also did not work.
It took it as "Fooar.class" since $B has no value.


On 6/6/06, William A. Hoffman <billlist at nycap.rr.com> wrote:
> At 11:49 AM 6/6/2006, Vikas Kumar wrote:
> >Hi
> >i am writing a Java build script using CMake's ADD_CUSTOM_TARGET keyword.
> >One of the classes created is of the name Foo$Bar.class. This is how
> >java create's that class.
> >How do I escape the $ sign , so that i can use the name
> >"Foo$Bar.class" to create the jar file ?
>
> Does this work: Foo\$Bar.class
>
> -Bill
>
>


More information about the CMake mailing list