[CMake] CPack and 7-Zip?
Alexander Neundorf
a.neundorf-work at gmx.net
Fri Jun 15 12:06:32 EDT 2007
On Friday 15 June 2007 11:47, Peter Visser wrote:
> > We'll do something about it.
> > How about adding options to the install() command like STRIP_ALWAYS and
> > STRIP_NEVER ?
>
> Do you mean something like this:
>
> INSTALL(TARGETS helloworld
> RUNTIME DESTINATION bin STRIP_ALWAYS
> LIBRARY DESTINATION lib STRIP_NEVER
> ARCHIVE DESTINATION lib STRIP_NEVER
> )
>
> In my case that would work very well.
I guess you would do it this way for all installed targets ?
Also for the LIBRARY part, which is only for libraries which were created
using ADD_LIBRARY( ... MODULE ...) ?
Maybe ALWAYS_STRIP and EXCLUDE_FROM_STRIP would be a bit more consistent with
the names of other command options.
Alex
More information about the CMake
mailing list