Hi, I am trying desperately to get the dollar sign ($) escaped properly in the following:
ADD_CUSTOM_TARGET (read_potfiles_in ALL COMMAND grep -Ev '^\#|^\\[|^$' POTFILES.in > POTFILES.in.cmake WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} ) I searched everything but did not find a solution to get that dollar sign escaped. The result always looks like this: ... cd /home/chris/workspace/l2nl/po && grep -Ev '^#|^\[|^ POTFILES.in > POTFILES.in.cmake Escaping with signle or double \\ does not work. any help is much appreciated! Chris cmake version 2.4-patch 7 http://www.acurana.de/ _______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake