[CMake] escape the dollar sign

William A. Hoffman billlist at nycap.rr.com
Tue Jun 6 12:07:45 EDT 2006


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