Re: [CMake] Link and build to DLL under Windows with NMake

2009-11-20 Thread Michael Wild
ello { public: void sayHello(); }; #endif That should do the trick. Make sure that WIN32 is among your default preprocessor symbols on Windows. Best regards, Gerhard From: Andrea Gualano To: cmake@cmake.org Date: 20.11.2009 13:35 Subject: [CMake] Link and build to DLL under Windows with NMake Se

Re: [CMake] Link and build to DLL under Windows with NMake

2009-11-20 Thread Andrea Gualano
Thanks Micha, thanks Gerhard, that did the trick. Bye, Andrea -- Andrea Gualano ImaVis S.r.l. email: andrea.gual...@imavis.com ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.htm

Re: [CMake] Link and build to DLL under Windows with NMake

2009-11-20 Thread ggrimm
void sayHello(); }; #endif That should do the trick. Make sure that WIN32 is among your default preprocessor symbols on Windows. Best regards, Gerhard From: Andrea Gualano To: cmake@cmake.org Date: 20.11.2009 13:35 Subject: [CMake] Link and build to DLL under Windows with NMake Sent

Re: [CMake] Link and build to DLL under Windows with NMake

2009-11-20 Thread Micha Renner
Your library symbols are not getting exported. Please, look http://www.cmake.org/Wiki/BuildingWinDLL Greeting Micha Am Freitag, den 20.11.2009, 13:34 +0100 schrieb Andrea Gualano: > Hello, > I am trying to build a .dll file under Windows and then build some test > executable just to be sure tha

[CMake] Link and build to DLL under Windows with NMake

2009-11-20 Thread Andrea Gualano
Hello, I am trying to build a .dll file under Windows and then build some test executable just to be sure that it works correctly. The source is C++, and I am trying to link to a class defined inside the shared library. This is probably very basic, but I know very little about Windows development