Under Windows, with cmake I generate a shared library and an executable.
The shared lib generate 2 files, a .DLL and a .LIB
I use add_custom_command
with $<TARGET_FILE:mylibname>
, this output the name of the .DLL file.
But, I need the name of the .LIB file.
How can I do ? Any idea ?