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

2013-12-10 Thread Totte Karlsson
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

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

2013-12-10 Thread Rolf Eike Beer
Am Dienstag, 10. Dezember 2013, 13:07:07 schrieb Totte Karlsson: 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

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

2013-12-10 Thread Totte Karlsson
Great, worked perfect! Thanks, Tk On 12/10/2013 1:23 PM, Rolf Eike Beer wrote: Am Dienstag, 10. Dezember 2013, 13:07:07 schrieb Totte Karlsson: 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