[CMake] Change executable target's name on install

Dieter Rosch dieter at bbd.co.za
Sat Mar 21 08:32:55 EDT 2009


Bump this - I have the same problem, and exe A must be installed as A and B. I currently compile it twice, but its ugly, and the exe's don't have the same checksum (because we embed buildtime in our exes).\


> -----Original Message-----
> From: cmake-bounces at cmake.org [mailto:cmake-bounces at cmake.org] On
> Behalf Of James Bigler
> Sent: 20 March 2009 23:23 PM
> To: cmake
> Subject: [CMake] Change executable target's name on install
>
> 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
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake


More information about the CMake mailing list