[ros-diffs] [tkreuzer] 49538: [CMAKE] Add a hack to fix compilation of irot.idl with MSVC. If someone knows how to correctly fix this, please let me know.

tkreuzer at svn.reactos.org tkreuzer at svn.reactos.org
Tue Nov 9 01:42:07 UTC 2010


Author: tkreuzer
Date: Tue Nov  9 01:42:06 2010
New Revision: 49538

URL: http://svn.reactos.org/svn/reactos?rev=49538&view=rev
Log:
[CMAKE]
Add a hack to fix compilation of irot.idl with MSVC. If someone knows how to correctly fix this, please let me know.

Modified:
    branches/cmake-bringup/toolchain-msvc.cmake

Modified: branches/cmake-bringup/toolchain-msvc.cmake
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/toolchain-msvc.cmake?rev=49538&r1=49537&r2=49538&view=diff
==============================================================================
--- branches/cmake-bringup/toolchain-msvc.cmake [iso-8859-1] (original)
+++ branches/cmake-bringup/toolchain-msvc.cmake [iso-8859-1] Tue Nov  9 01:42:06 2010
@@ -32,7 +32,7 @@
 SET(CMAKE_IDL_COMPILER midl)
 
 SET(CMAKE_RC_COMPILE_OBJECT "<CMAKE_RC_COMPILER> <DEFINES> /I${REACTOS_SOURCE_DIR}/include/psdk /I${REACTOS_BINARY_DIR}/include/psdk /I${REACTOS_SOURCE_DIR}/include /I${REACTOS_SOURCE_DIR}/include/reactos /I${REACTOS_BINARY_DIR}/include/reactos /I${REACTOS_SOURCE_DIR}/include/reactos/wine /I${REACTOS_SOURCE_DIR}/include/crt /I${REACTOS_SOURCE_DIR}/include/crt/mingw32 /fo <OBJECT> <SOURCE>")
-SET(CMAKE_IDL_COMPILE_OBJECT "<CMAKE_IDL_COMPILER> <FLAGS> <DEFINES> /win32 /h <OBJECT> <SOURCE>")
+SET(CMAKE_IDL_COMPILE_OBJECT "<CMAKE_IDL_COMPILER> <FLAGS> <DEFINES> /win32 /Dstrict_context_handle= /h <OBJECT> <SOURCE>")
 
 SET(CMAKE_ASM_COMPILE_OBJECT 
     "<CMAKE_C_COMPILER> <FLAGS> <DEFINES> /D__ASM__ /D_USE_ML /EP /c <SOURCE> > <OBJECT>.tmp"




More information about the Ros-diffs mailing list