Author: akhaldi
Date: Wed Jul 28 17:00:50 2010
New Revision: 48333
URL:
http://svn.reactos.org/svn/reactos?rev=48333&view=rev
Log:
[CMAKE]
- Fix stdole2.
Modified:
branches/cmake-bringup/include/psdk/CMakeLists.txt
Modified: branches/cmake-bringup/include/psdk/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/include/psdk/CMak…
==============================================================================
--- branches/cmake-bringup/include/psdk/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/include/psdk/CMakeLists.txt [iso-8859-1] Wed Jul 28 17:00:50
2010
@@ -37,6 +37,7 @@
LIST(REMOVE_ITEM SOURCE ${REACTOS_SOURCE_DIR}/include/psdk/dbinit.idl)
LIST(REMOVE_ITEM SOURCE ${REACTOS_SOURCE_DIR}/include/psdk/vmrender.idl)
LIST(REMOVE_ITEM SOURCE ${REACTOS_SOURCE_DIR}/include/psdk/sesprp.idl)
+LIST(REMOVE_ITEM SOURCE ${REACTOS_SOURCE_DIR}/include/psdk/stdole2.idl)
LIST(REMOVE_ITEM SOURCE ${REACTOS_SOURCE_DIR}/include/psdk/rstloc.idl)
LIST(REMOVE_ITEM SOURCE ${REACTOS_SOURCE_DIR}/include/psdk/rstbas.idl)
LIST(REMOVE_ITEM SOURCE ${REACTOS_SOURCE_DIR}/include/psdk/rstinf.idl)
@@ -50,3 +51,13 @@
MACRO_ADD_PSDK_INTERFACES(${SOURCE})
ADD_CUSTOM_TARGET(psdk ALL DEPENDS ${PSDK_HEADERS})
+
+ADD_CUSTOM_COMMAND(
+ OUTPUT ${REACTOS_BINARY_DIR}/include/psdk/stdole2.tlb
+ COMMAND native-widl -I${REACTOS_SOURCE_DIR}/include/dxsdk -I.
-I${REACTOS_SOURCE_DIR}/include -I${REACTOS_SOURCE_DIR}/include/psdk -m32 --win32 -t -T
${REACTOS_BINARY_DIR}/include/psdk/stdole2.tlb
${REACTOS_SOURCE_DIR}/include/psdk/stdole2.idl
+ DEPENDS native-widl
+)
+
+SET_SOURCE_FILES_PROPERTIES(${REACTOS_BINARY_DIR}/include/psdk/stdole2.tlb PROPERTIES
GENERATED TRUE)
+
+ADD_CUSTOM_TARGET(stdole2 ALL DEPENDS ${REACTOS_BINARY_DIR}/include/psdk/stdole2.tlb)