On Mon, Mar 11, 2013 at 1:24 AM, Michael Wild <them...@gmail.com> wrote:

>
>
>
> On Mon, Mar 11, 2013 at 9:20 AM, J Decker <d3c...@gmail.com> wrote:
>
>>
>>
>> On Sun, Mar 10, 2013 at 11:56 PM, Chandan Choudhury <iitd...@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.
>
> 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