mirror of
https://github.com/reactos/reactos.git
synced 2025-05-19 00:54:18 +00:00
[GDIPLUS]
Mark wincodecs_i.c as generated and add macro to generate the file svn path=/trunk/; revision=52270
This commit is contained in:
parent
9ce34392b4
commit
bccc6a4f57
2 changed files with 5 additions and 2 deletions
|
@ -26,10 +26,11 @@ list(APPEND SOURCE
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/gdiplus_stubs.c
|
${CMAKE_CURRENT_BINARY_DIR}/gdiplus_stubs.c
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/gdiplus.def)
|
${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
|
list(APPEND SOURCE
|
||||||
${REACTOS_BINARY_DIR}/include/psdk/wincodec_i.c)
|
${REACTOS_BINARY_DIR}/include/psdk/wincodec_i.c)
|
||||||
endif()
|
#endif()
|
||||||
|
|
||||||
add_library(gdiplus SHARED ${SOURCE})
|
add_library(gdiplus SHARED ${SOURCE})
|
||||||
|
|
||||||
|
|
|
@ -113,3 +113,5 @@ add_idl_headers(psdk ${SOURCE})
|
||||||
add_typelib(stdole2 stdole2.idl)
|
add_typelib(stdole2 stdole2.idl)
|
||||||
|
|
||||||
add_iid_library(wuguid wuapi.idl)
|
add_iid_library(wuguid wuapi.idl)
|
||||||
|
|
||||||
|
generate_idl_iids(wincodec.idl)
|
||||||
|
|
Loading…
Reference in a new issue