[CMake] How to prevent .lib file to be installed?

Totte Karlsson totte at dunescientific.com
Tue Dec 10 16:07:07 EST 2013


Hi,
I'm creating a 'plugin' DLL and want to prevent the associated .lib file 
to be installed (cause its not being used).

My Install code looks like this now:

install (TARGETS ${target}
DESTINATION plugins
COMPONENT plugins
)

and it installs both a .DLL and a .lib file. Any simple fix?

tk

-- 
.........................
Totte Karlsson, Ph.D.
Dune Scientific, LLC
425-296 1980 (office)
425-780 9648 (cell)
www.dunescientific.com
.........................



More information about the CMake mailing list