Re: [CMake] shared libraries .lib .dll

2008-06-19 Thread Stefan Buschmann
Pierre Malarme schrieb: hi, i've taken your advice on the __declspec stuff and test it on a hello world project. i do have a .lib now but with a warning " hello.cxx ..\..\CMakeExample\Hello\hello.cxx(5) : warning C4273: 'Hello::Print' : inconsistent dll linkage h:\workspace\cmakeexample\cma

Re: [CMake] shared libraries .lib .dll

2008-06-19 Thread Pierre Malarme
hi, i've taken your advice on the __declspec stuff and test it on a hello world project. i do have a .lib now but with a warning " hello.cxx ..\..\CMakeExample\Hello\hello.cxx(5) : warning C4273: 'Hello::Print' : inconsistent dll linkage h:\workspace\cmakeexample\cmakeexample\hello\hello.h(

Re: [CMake] shared libraries .lib .dll

2008-06-11 Thread Christian Ehrlicher
> Von: "Ingrid Kemgoum" > > i'm very sorry but it's like chinese for me. u told me not to define the > symbol so i skip the > SET_TARGET_PROPERTIES(Hello PROPERTIES DEFINE_SYMBOL HELLO_EXPORTS) in the > library directory > > and when i dont use it i have 2 link problems like this: > > LINK : H:\

Re: [CMake] shared libraries .lib .dll

2008-06-11 Thread Christian Ehrlicher
> 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

Re: [CMake] shared libraries .lib .dll

2008-06-11 Thread 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) *In the project directory :* cmake_minimum_required(VERSION 2.6)

Re: [CMake] shared libraries .lib .dll

2008-06-10 Thread Ingrid Kemgoum
hi, i've taken your advice on the __declspec stuff and test it on a hello world project. i do have a .lib now but with a warning " hello.cxx ..\..\CMakeExample\Hello\hello.cxx(5) : warning C4273: 'Hello::Print' : inconsistent dll linkage h:\workspace\cmakeexample\cmakeexample\hello\hello.h(18) :