MantisBT - CMake
View Issue Details
0008781CMakeCMakepublic2009-03-23 13:572009-03-30 17:31
James Bigler 
 
normalfeaturealways
closedno change required 
CMake-2-6 
 
0008781: Need ability to install only dll portion of target (no lib)
When installing a shared library target on windows, I get both the DLL and LIB installed. I would like the ability to not install the LIB portion, as I'm distributing executable code and I don't want to linking libraries.

One possible solution would be specifying a special DESTINATION directory such as /dev/null that is understood on all platforms (including windows) to mean the great bit bucket in the sky and not installed.
No tags attached.
Issue History
2009-03-23 13:57James BiglerNew Issue
2009-03-27 16:50James BiglerNote Added: 0015814
2009-03-30 17:31Clinton StimpsonNote Added: 0015857
2009-03-30 17:31Clinton StimpsonStatusnew => closed
2009-03-30 17:31Clinton StimpsonResolutionopen => no change required

Notes
(0015814)
James Bigler   
2009-03-27 16:50   
It turns out you can do this by specifying RUNTIME DESTINATION and LIBRARY DESTINATION instead of just DESTINATION.
(0015857)
Clinton Stimpson   
2009-03-30 17:31   
already do-able. was explained on mailing list.