Dear Cmake users and developpers,
Our project builds fine with cmake and we can sucessfully generate
shared library( so files ) under Unix/Linux systems when using the
appropriate flag. However, when it comes to windows systems, visual
always build .lib files, even when activating the shared
Hi,
maybe you forgot to export symbols?
http://www.cmake.org/Wiki/BuildingWinDLL
Regards,
Werner
On 24.09.2008, at 10:59, Julien Michel wrote:
Dear Cmake users and developpers,
Our project builds fine with cmake and we can sucessfully generate
shared library( so files ) under Unix/Linux
Werner Smekal a écrit :
Hi,
maybe you forgot to export symbols?
http://www.cmake.org/Wiki/BuildingWinDLL
Dear Werner,
Thank you, I did search the cmake Wiki for something like that, but I
did not manage to find this page. I think we are exporting/importing our
symbols in most of the case,
Hi Julien,
This lead me to another question:
In the wiki page, it is suggested to do the following:
#if defined (_WIN32)
#if defined(MyLibrary_EXPORTS)
#define MYLIB_EXPORT __declspec(dllexport)
#else
#define MYLIB_EXPORT __declspec(dllimport)
#endif /* MyLibrary_EXPORTS */
#else /*
On Sep 24, 2008, at 5:47 AM, Julien Michel wrote:
Werner Smekal a écrit :
Hi,
maybe you forgot to export symbols?
http://www.cmake.org/Wiki/BuildingWinDLL
Dear Werner,
Thank you, I did search the cmake Wiki for something like that, but I
did not manage to find this page. I think we are
dear Michael,
I was expecting something like that but as I am not very familiar with
building libraries on windows, I was not sure wether I was right or
wrong. Thank you very much,
Best regards,
Julien
Michael Jackson a écrit :
Julien,
Funny. I wrote that wiki entry and it was a bit