[ros-diffs] [tkreuzer] 49843: [CMAKE] Add a hack for midl. Don't ask me why, but renaming IEnumVARIANT to something different globally fixes the compilation of dxsdk. someone with more idl knowledge should che...

tkreuzer at svn.reactos.org tkreuzer at svn.reactos.org
Sun Nov 28 15:40:48 UTC 2010


Author: tkreuzer
Date: Sun Nov 28 15:40:47 2010
New Revision: 49843

URL: http://svn.reactos.org/svn/reactos?rev=49843&view=rev
Log:
[CMAKE]
Add a hack for midl. Don't ask me why, but renaming IEnumVARIANT to something different globally fixes the compilation of dxsdk. someone with more idl knowledge should check that.

Modified:
    branches/cmake-bringup/msc.cmake

Modified: branches/cmake-bringup/msc.cmake
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/msc.cmake?rev=49843&r1=49842&r2=49843&view=diff
==============================================================================
--- branches/cmake-bringup/msc.cmake [iso-8859-1] (original)
+++ branches/cmake-bringup/msc.cmake [iso-8859-1] Sun Nov 28 15:40:47 2010
@@ -131,7 +131,7 @@
 
 #idl files support
 set(IDL_COMPILER midl)
-set(IDL_FLAGS /win32)
+set(IDL_FLAGS /win32 /DIEnumVARIANT=IEnumXVARIANT)
 set(IDL_HEADER_ARG /h) #.h
 set(IDL_TYPELIB_ARG /tlb) #.tlb
 set(IDL_SERVER_ARG /sstub) #.c for stub server library




More information about the Ros-diffs mailing list