[CMake] how to insert the comment in Makefile by Cmake?
Lice Adrian
lice.adrian at gmail.com
Sun Feb 15 04:22:12 EST 2015
hi
there is the specific command need to call in build steps. how can i insert
the comment before this command executed.
add_custom_command (
OUTPUT ${OUTFILE}
COMMENT #pragma runlocal
COMMAND sudo -u app_x01 .....
DEPENDS ${DEPENDS}
DEPENDS ${SUDO_PASS}
)
i want get the makefile like this
#pragma runlocal
sudo -u app_x01 .....
thanks
brs
Adrian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20150215/d7426dd4/attachment.html>
More information about the CMake
mailing list