xref: /reactos/dll/win32/msrle32/CMakeLists.txt (revision 58588b76)
1
2add_definitions(-D__WINESRC__)
3include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
4spec2def(msrle32.dll msrle32.spec)
5
6if(MSVC)
7    # error C4312: 'type cast': conversion from 'unsigned int' to 'LPVOID' of greater size
8    replace_compile_flags("/we4312" " ")
9endif()
10
11list(APPEND SOURCE
12    msrle32.c
13    ${CMAKE_CURRENT_BINARY_DIR}/msrle32.def)
14
15add_library(msrle32 MODULE ${SOURCE} rsrc.rc)
16set_module_type(msrle32 win32dll)
17target_link_libraries(msrle32 wine)
18add_importlibs(msrle32 winmm user32 msvcrt kernel32 ntdll)
19add_cd_file(TARGET msrle32 DESTINATION reactos/system32 FOR all)
20