[CMAKE]
[reactos.git] / dll / win32 / msimg32 / CMakeLists.txt
1
2 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
3 add_definitions(-D__WINESRC__)
4
5 spec2def(msimg32.dll msimg32.spec)
6
7 list(APPEND SOURCE
8 msimg32_main.c
9 ${CMAKE_CURRENT_BINARY_DIR}/msimg32.def)
10
11 add_library(msimg32 SHARED ${SOURCE})
12
13 set_module_type(msimg32 win32dll)
14 target_link_libraries(msimg32 wine)
15 add_importlibs(msimg32 gdi32 msvcrt kernel32 ntdll)
16 add_cd_file(TARGET msimg32 DESTINATION reactos/system32 FOR all)
17 add_importlib_target(msimg32.spec)