Hi,
I have troubles with CMAKE_LINKER which is defined in the GUI.
Here is my settings :
CMAKE_C_COMPILER = C:/MinGW_3.1.0/bin/gcc.exe
CMAKE_LINKER = D:/cygwin/bin/gcc.exe
(compiler and linker are different)

I try to generate a .dll by :
ADD_LIBRARY(bar SHARED ${LIST_FILE_OBJ} ${CMAKE_CURRENT_SOURCE_DIR}/bar.DEF)
When I look at build.make, it's the CMAKE_C_COMPILER which is used and not the 
CMAKE_LINKER :
cd D:/FOO_Unix/bar && C:/OUTILS/MinGW_3.1.0/bin/gcc.exe -shared -o lib/bar.dll 
-Wl,--out-implib,lib/libbar.dll.a 
-Wl,--major-image-version,1,--minor-image-version,2 $(bar_OBJECTS) 
$(bar_EXTERNAL_OBJECTS) ../foo/foo.a 

Any idea ?
Thanks.
Sebastien

____________________________________________________

Ne surchargez plus votre boite mail et celles de vos amis ! Invitez les sur 
votre espace photo ! http://pikeo.voila.fr 
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to