[waffle] Windows library is almost up

Emil Velikov emil.l.velikov at gmail.com
Thu May 22 14:08:04 PDT 2014


Hi guys,

A bit of update + a couple of questions:

 1. Modified cmake build. Now we have a windows libraries (cross-compiled with
mingw-w64).

 - Why do we use absolute paths for the install targets ? I believe that
(cmake guys confirmed) one should normally use relative ones.

 - To the best of my knowledge one should not define symbols such as
WAFFLE_API/restrict in public headers. Is that intentional or am I missing
something ?

 2. Fully stubbed the windows library, added the dlopen/dlsym[2].
 - Windows supports ANSI and Unicode versions of most functions. Considering
the use-case I'm going with ANSI. Objections/suggestions ?

TODO:
 - Test it.
 - dlopen/LoadLibraryEx has a flag DONT_RESOLVE_DLL_REFERENCES, which might be
interesting. Experiment with it.

And last but not least:
Should I keep these emails out of the waffle ML?

Cheers,
Emil


More information about the waffle mailing list