Hello,

I would like to construct a custom command for the tool "Latexmk".
http://www.cmake.org/cmake/help/v3.2/command/add_custom_command.html

The corresponding Perl script can handle a parameter like "pdflatex".

If I omit the parameter "VERBATIM", the current CMake software
will add backslashes before space characters.

Example:
… -pdf -pdflatex='/usr/bin/pdflatex\ -halt-on-error\ --shell-escape\ %O\ %S' …


Can such "an adjustment" of the really desired string value
be avoided anyhow?
Should the value work also without the shown escaping?

Regards,
Markus
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to