error in UseOROCOS-RTT.cmake?

It seems that the UseOROCOS-RTT.cmake macro contains an error on line 217; this line should be

ADD_EXECUTABLE( ${EXE_TARGET_NAME} ${SOURCES} )
rather than
ADD_EXECUTABLE( ${EXE_TARGET_NAME} SHARED ${SOURCES} )

right?

Theo.

error in UseOROCOS-RTT.cmake?

On Wed, Feb 9, 2011 at 2:58 PM, <t [dot] j [dot] a [dot] devries [..] ...> wrote:
> It seems that the UseOROCOS-RTT.cmake macro contains an error on line 217;
> this line should be
>

> ADD_EXECUTABLE( ${EXE_TARGET_NAME} ${SOURCES} )
> 

> rather than
>
> ADD_EXECUTABLE( ${EXE_TARGET_NAME} SHARED ${SOURCES} )
> 

Thanks for reporting. It's obviously a typo :-)

Peter

error in UseOROCOS-RTT.cmake?

On Feb 9, 2011, at 11:06 , Peter Soetens wrote:

> On Wed, Feb 9, 2011 at 2:58 PM, <t [dot] j [dot] a [dot] devries [..] ...> wrote:
>> It seems that the UseOROCOS-RTT.cmake macro contains an error on line 217;
>> this line should be
>>

>> ADD_EXECUTABLE( ${EXE_TARGET_NAME} ${SOURCES} )
>> 

>> rather than
>>
>> ADD_EXECUTABLE( ${EXE_TARGET_NAME} SHARED ${SOURCES} )
>> 

>
> Thanks for reporting. It's obviously a typo :-)
>
> Peter

Ahhh ... but ADD_EXECUTABLE doesn't take a SHARED option. That's for ADD_LIBRARY. So where is the typo?
S

error in UseOROCOS-RTT.cmake?

2011/2/9 S Roderick <kiwi [dot] net [..] ...>:
> On Feb 9, 2011, at 11:06 , Peter Soetens wrote:
>
>> On Wed, Feb 9, 2011 at 2:58 PM,  <t [dot] j [dot] a [dot] devries [..] ...> wrote:
>>> It seems that the UseOROCOS-RTT.cmake macro contains an error on line 217;
>>> this line should be
>>>

>>> ADD_EXECUTABLE( ${EXE_TARGET_NAME} ${SOURCES} )
>>> 

>>> rather than
>>>
>>> ADD_EXECUTABLE( ${EXE_TARGET_NAME} SHARED ${SOURCES} )
>>> 

>>
>> Thanks for reporting. It's obviously a typo :-)
>>
>> Peter
>
> Ahhh ... but ADD_EXECUTABLE doesn't take a SHARED option. That's for ADD_LIBRARY. So where is the typo?

It originated at my side: I copied the add_library macro and turned it
into an add_executable macro - with the resulting SHARED option
unremoved.

Steven

> S
>
> --
> Orocos-Users mailing list
> Orocos-Users [..] ...
> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
>