[CMAKE]
[reactos.git] / dll / win32 / msrle32 / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3 add_definitions(-D_DLL -D__USE_CRTIMP)
4
5 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
6
7 spec2def(msrle32 ${CMAKE_CURRENT_SOURCE_DIR}/msrle32.spec ${CMAKE_CURRENT_BINARY_DIR}/msrle32.def)
8
9 add_library(msrle32 SHARED msrle32.c rsrc.rc)
10
11 set_module_type(msrle32 win32dll)
12
13 target_link_libraries(msrle32
14 ${CMAKE_CURRENT_BINARY_DIR}/msrle32.def
15 wine)
16
17 add_importlibs(msrle32 msvcrt winmm user32 kernel32 ntdll)
18 add_dependencies(msrle32 msrle32_def)
19 add_livecd_target(msrle32 reactos/system32)