rogerz wrote:
> On Monday, April 30, 2012, Petri Lehtinen wrote:
>
>
> The library can be compiled like this:
> ...
> 1. Create an empty DLL project
> 2. Rename src/jansson_config.h.win32 to src/jansson_config.h
> 3. Add all source files under src/ to the project
> 4. Use src/jansson.def as the linker definition file. This makes
> correct symbols end up in the DLL.
>
>
> I wonder why you didn't put the VS project file into source control? Any
> concerns?
Well, I've never used MSVC++ before, so I'm a bit confused about
projects and solutions, and I don't know which files define a project.
Furthermore, I don't know how to use a relative path to the .def file
(I only got it to work using a full path), and I'm not sure whether
the library should be compiled in C or C++ mode by default, or does it
matter.
But you're rigt, it would probably be the best to include the project
file(s) for the ease of use.
> P.S. I thought jansson could be built with MinGW before.
That's correct, but I felt that MSVC++ is so much more popular than
MinGW that this really wasn't enough for "true" Windows support.
Petri