[CMake] adding program suffix

Michael Wild themiwi at gmail.com
Mon Mar 11 04:24:23 EDT 2013


On Mon, Mar 11, 2013 at 9:20 AM, J Decker <d3ck0r at gmail.com> wrote:

>
>
> On Sun, Mar 10, 2013 at 11:56 PM, Chandan Choudhury <iitdckc at gmail.com>wrote:
>
>>
>> Dear cmake users,
>>
>> I am very new to cmake. I really find it interesting. I installed gromacs
>> (4.6.1) with it. One simple query regarding its usage is, how do I add
>> program suffix to the executables created.
>>
>>
>    SET_TARGET_PROPERTIES( <target> PROPERTIES
>                   SUFFIX ".different.suffix" )
>
>
>
>>
>> Chandan
>>
>
IMHO this is not they way to go about this problem if you're not the
developer of the software... It might be the last resort if the developers
were not careful enough to allow users to override the program suffix, but
IMHO this should be configurable through the cache.

Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20130311/84235d15/attachment-0001.htm>


More information about the CMake mailing list