Hi everyone,

I have really simple problem but I can't find the solution :

ADD_CUSTOM_COMMAND( OUTPUT ${SPEC_FILE}
       COMMAND ${CMAKE_COMMAND} -E echo "/*" > echo.txt
)

With this command, cmake generate, using VERBATIM or not, this text :

/bin /boot /cdrom /dev /etc /home /initrd /initrd.img /initrd.img.old /lib
/local_home /lost+found /media /mnt /opt /proc /root /sbin /srv /sys /tmp
/usr /var /vmlinuz /vmlinuz.old

What can I do to just echo  "/*" ?

In command line, I can just type
cmake -E "/*"
instead of
cmake -E /*
but within a cmake file I don't know how to do it.

Thanks for any help

Regards,
--
Mehdi Rabah
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to