Author: tkreuzer
Date: Thu Jun 16 09:07:48 2011
New Revision: 52270
URL:
http://svn.reactos.org/svn/reactos?rev=52270&view=rev
Log:
[GDIPLUS]
Mark wincodecs_i.c as generated and add macro to generate the file
Modified:
trunk/reactos/dll/win32/gdiplus/CMakeLists.txt
trunk/reactos/include/psdk/CMakeLists.txt
Modified: trunk/reactos/dll/win32/gdiplus/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/gdiplus/CMakeLis…
==============================================================================
--- trunk/reactos/dll/win32/gdiplus/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/gdiplus/CMakeLists.txt [iso-8859-1] Thu Jun 16 09:07:48 2011
@@ -26,10 +26,11 @@
${CMAKE_CURRENT_BINARY_DIR}/gdiplus_stubs.c
${CMAKE_CURRENT_BINARY_DIR}/gdiplus.def)
-if(MSVC)
+#if(MSVC)
+ set_source_files_properties(${REACTOS_BINARY_DIR}/include/psdk/wincodec_i.c
PROPERTIES GENERATED TRUE)
list(APPEND SOURCE
${REACTOS_BINARY_DIR}/include/psdk/wincodec_i.c)
-endif()
+#endif()
add_library(gdiplus SHARED ${SOURCE})
Modified: trunk/reactos/include/psdk/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/CMakeLists.tx…
==============================================================================
--- trunk/reactos/include/psdk/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/CMakeLists.txt [iso-8859-1] Thu Jun 16 09:07:48 2011
@@ -113,3 +113,5 @@
add_typelib(stdole2 stdole2.idl)
add_iid_library(wuguid wuapi.idl)
+
+generate_idl_iids(wincodec.idl)