[CMake] shared libraries .lib .dll

Christian Ehrlicher Ch.Ehrlicher at gmx.de
Wed Jun 11 04:05:03 EDT 2008


> Von: "Ingrid Kemgoum"
> hi
> i've done what you told be (not to define de -D..) and i do have a .lib
> too
> but the problem of the link with the dll still exist.
> maybe it's my fault
> there is my code in the three directories(i'm using visual 8 2005 and
> cmake
> 2.6)
When you don't define the -DMAKE_FOO than you have the same problem like in the beginning. The .lib is there because you did not make a clean build after the change (so it's an old one).
See SET_TARGET_PROPERTIES and DEFINE_SYMBOL how to define a symbol for a single target only.


Christian
-- 
GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
Jetzt dabei sein: http://www.shortview.de/?mc=sv_ext_mf@gmx


More information about the CMake mailing list