[CMake] implib option for linker on Win32
dohadwala, moiz
dohadwala_moiz at emc.com
Thu Jul 28 19:26:10 EDT 2005
I am trying to create a shared library on windows. The cmake project creates
the dll, but it does not create the import library. What options/commands
should I provide to get the import library to be generated?
Here is the CMakelists.txt file:
INCLUDE_DIRECTORIES(${ELM_SOURCE_DIR}/include)
# Make sure the linker can find the 3rdParty library
LINK_DIRECTORIES(${ELM_BINARY_DIR}/lib)
SET(ELM_SRCS
elm_monitor.c lm_module.c
)
# source files for elm
ADD_LIBRARY(elm SHARED ${ELM_SRCS})
-Moiz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20050728/e87dd6ca/attachment.html
More information about the CMake
mailing list