[ros-diffs] [tkreuzer] 52281: [WINDOWSCODECS] Add wincodec_i.c to sources now it links

tkreuzer at svn.reactos.org tkreuzer at svn.reactos.org
Thu Jun 16 18:14:09 UTC 2011


Author: tkreuzer
Date: Thu Jun 16 18:14:09 2011
New Revision: 52281

URL: http://svn.reactos.org/svn/reactos?rev=52281&view=rev
Log:
[WINDOWSCODECS]
Add wincodec_i.c to sources
now it links


Modified:
    trunk/reactos/dll/win32/windowscodecs/CMakeLists.txt

Modified: trunk/reactos/dll/win32/windowscodecs/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/windowscodecs/CMakeLists.txt?rev=52281&r1=52280&r2=52281&view=diff
==============================================================================
--- trunk/reactos/dll/win32/windowscodecs/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/windowscodecs/CMakeLists.txt [iso-8859-1] Thu Jun 16 18:14:09 2011
@@ -41,6 +41,12 @@
     ${CMAKE_CURRENT_BINARY_DIR}/windowscodecs_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/windowscodecs.def)
 
+#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()
+
 add_library(windowscodecs SHARED ${SOURCE})
 
 set_module_type(windowscodecs win32dll)




More information about the Ros-diffs mailing list