Hi Jesús,

 I believe the feature is not in CMake AFAIK. You should enter a bug
report (feature request) and I guess specify something like:

http://www.mingw.org/mingwfaq.shtml#faq-msvcdll

 which explain how to compile a def file on mingw.

link:

 http://cmake.org/Bug

HTH
-Mathieu

On 5/10/07, Jesús López <[EMAIL PROTECTED]> wrote:
Hi,

I'm trying to use a hand made .DEF file (with aliases) to link a
certain DLL with MinGW. I tried this way but with no success:

project(kaka)
add_library(kk SHARED kk.c kk.def)

The generated Makefile didn't pass the DEF file to the linking stage.
¿How can I do this then, if you please?

Regards, Jesus.

=========

C:\MinGW\bin\gcc.exe    -shared -o libkk.dll
-Wl,--out-implib,libkk.dll.a
-Wl,--major-image-version,0,--minor-image-version,0
"CMakeFiles/kk.dir/kk.obj"

PS: version cmake version 2.4-patch 6

_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake



--
Mathieu
Tel: +33 6 32 13 33 40
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to