[cairo] Win32 Testsuite + .def file
vladimirv at gmail.com
Thu Dec 15 21:08:46 PST 2005
On 12/15/05, Owen Taylor <otaylor at redhat.com> wrote:
> I don't really see why a .def file is necessary at all ... when I
> built for Win32 last week, I just added something like:
> #ifdef BUILDING_CAIRO
> #define cairo_public __declspec(dllexport)
> #define cairo_public __declspec(dllimport)
> To cairo-features.h. Then defined (in the visual studio project
> settings) BUILDING_CAIRO. That removes all the worries about whether
> the .def file matches the particular configuration.
I agree; I think the def file predates the cairo_public annotations.
More information about the cairo