The old uuid library was one file containing all the uuids, generated from the psdk headers, which results in all GUIDs being linked, as soon as a single one is used. Also while widl creates DEFINE_GUID() entries in the header files, midl only creates "extern GUID", so this didn't work on MSVC. The new version uses iid files generated from the idl files and some extra C files. This works with both midl and widl, reduces overhead when linking uuids and is much closer to MS uuid lib.

svn path=/branches/cmake-bringup/; revision=50569
This commit is contained in:
Timo Kreuzer 2011-01-30 14:09:38 +00:00
parent ff4324fb98
commit 96abfd1223
27 changed files with 1743 additions and 222 deletions

View file

@ -111,20 +111,3 @@ endif()
add_idl_headers(psdk ${SOURCE})
add_typelib(stdole2 stdole2.idl)
# These don't contain iids or only duplicates
list(REMOVE_ITEM SOURCE
activaut.idl
devenum.idl
icftypes.idl
msinkaut.idl
msxml2.idl
msxml6.idl
shdeprecated.idl
shtypes.idl
structuredquerycondition.idl
wia_lh.idl
winsxs.idl
wtypes.idl)
add_iid_library(iidlib ${SOURCE})