Re: [CMake] install( TARGETS module ...)

2011-07-02 Thread Michael Hertling
On 07/01/2011 03:32 PM, Mathieu Malaterre wrote: > Dear all, > > I am trying to change the default behavior of cmake which installs > MODULE to the LIBRARY destination. For example: > > ... > add_library(test MODULE test.c) > install(TARGETS test > RUNTIME DESTINATION bin > LIBRARY DESTINAT

[CMake] install( TARGETS module ...)

2011-07-01 Thread Mathieu Malaterre
Dear all, I am trying to change the default behavior of cmake which installs MODULE to the LIBRARY destination. For example: ... add_library(test MODULE test.c) install(TARGETS test RUNTIME DESTINATION bin LIBRARY DESTINATION lib ARCHIVE DESTINATION lib/static ) ... Will install test