Re: [CMake] Compiling dll under MSVC 2008

2009-04-17 Thread Tyler Roscoe
Guess I'll top-post too... Mike, that article is helpful and OP should definitely read it. Benoit, I think the specific problem you are having is that you are setting RUNTIME_ and LIBRARY_OUTPUT_DIRECTORY but not ARCHIVE_OUTPUT_DIRECTORY. From the docs: "For DLL platforms the DLL part of a share

Re: [CMake] Compiling dll under MSVC 2008

2009-04-16 Thread Hendrik Sattler
Am Donnerstag 16 April 2009 19:48:03 schrieb Mike Jackson: > You will want to read this link > [...] > PS: Feedback on that article is also welcome. In OpenObex, we use additionally a .def file with exports. "obex.sym" is a list of symbol names (one per

Re: [CMake] Compiling dll under MSVC 2008

2009-04-16 Thread Mike Jackson
You will want to read this link which should explain everything you need to know. Mike Jackson PS: Feedback on that article is also welcome. On Thu, Apr 16, 2009 at 1:39 PM, Benoit wrote: > Hello, > > I've a problem when using libraries under MS Visua

[CMake] Compiling dll under MSVC 2008

2009-04-16 Thread Benoit
Hello, I've a problem when using libraries under MS Visual C++ 2008 Express Edition but it works fine with GCC and MinGW. I have first create a core (cv7core) library that compile correctly (I obtain cv7core.dll), however I doesn't create the static lib. Then I create another library that use the