[CMake] updating uninstall_manifest.txt myself from within a script

Pierre-Julien Villoud PVilloud at movea.com
Mon Jun 8 11:33:11 EDT 2009


Hi,

So to complete a certain task in the install target i had to use my own perl script(installing features depending on command line arg). So I do
install(CODE "execute_process(COMMAND perl script.pl)

Now to make something really functional and integrated in cmake I wanted to update the uninstall_manifest.txt from within my perl script.

Only problem, it seems that I cant .... Apparently cmake opens uninstall_manifest.txt and closes it after me (after the end of my script) with an empty content.

Does anyone sees a way to go round that?

Thanks

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090608/61d99867/attachment-0001.htm>


More information about the CMake mailing list