On 2010-04-27 10:41, Hendrik Sattler wrote:
> I use the following in
> http://gitorious.org/openobex/mainline/blobs/master/apps/CMakeLists.txt:
>   add_executable ( ${prog} EXCLUDE_FROM_ALL ${${prog}_SOURCES} )
>   target_link_libraries ( ${prog} ${${prog}_LIBS} )
>   get_target_property ( ${prog}_EXECUTABLE ${prog} LOCATION )
>   install ( PROGRAMS ${${prog}_EXECUTABLE}
>     DESTINATION bin
>     COMPONENT applications
>     OPTIONAL
>   )
> 
> It is a PITA with libraries, though :-(
> 
> HS

Thanks, will try this method out!

Daniel

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
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