That's not what Chandan wants to achieve. He wants to have a suffix
appended to every executable being installed, so he can have different
versions installed and select among them through the suffix. Think gcc-4.4,
gcc-4.6 and gcc-4.7 being present on your system.


On Mon, Mar 11, 2013 at 9:27 AM, J Decker <[email protected]> wrote:

>
>
> On Mon, Mar 11, 2013 at 1:24 AM, Michael Wild <[email protected]> wrote:
>
>>
>>
>>
>> On Mon, Mar 11, 2013 at 9:20 AM, J Decker <[email protected]> wrote:
>>
>>>
>>>
>>> On Sun, Mar 10, 2013 at 11:56 PM, Chandan Choudhury 
>>> <[email protected]>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.
>>
>> Sure; but should be implemented on a per target basis, and certainly not
> globally.  I've had great success just chaining other CMake based projects
> into my builds, if they don't do rude things like set global library
> suffixes that end up propagating through previuosly working projects.
>
>
>> Michael
>>
>>
>
--

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

Reply via email to