[CMake] Change executable target's name on install

James Bigler jamesbigler at gmail.com
Mon Mar 23 14:02:52 EDT 2009


I've created a feature request bug for this:
http://www.cmake.org/Bug/view.php?id=8780

James

On Sat, Mar 21, 2009 at 6:32 AM, Dieter Rosch <dieter at bbd.co.za> wrote:
> 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
> _______________________________________________
> 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