[CMake] Change executable target's name on install

James Bigler jamesbigler at gmail.com
Fri Mar 20 17:22:52 EDT 2009


Is it possible to install an executable's name while installing?

The install(TARGETS) function doesn't include a rename option.

If I use install(FILES) I have to somehow figure out which executable
I can't get the path of the executable out with VS, because I don't
know which configuration I'm using.

Thanks,
James


More information about the CMake mailing list