2011-05-16 13:12:07 +00:00
|
|
|
|
2011-06-13 15:31:11 +00:00
|
|
|
add_definitions(-D__WINESRC__)
|
2016-04-20 12:36:25 +00:00
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
2011-05-16 13:12:07 +00:00
|
|
|
spec2def(msrle32.dll msrle32.spec)
|
|
|
|
|
2019-04-01 15:55:03 +00:00
|
|
|
if(MSVC)
|
|
|
|
# error C4312: 'type cast': conversion from 'unsigned int' to 'LPVOID' of greater size
|
|
|
|
replace_compile_flags("/we4312" " ")
|
|
|
|
endif()
|
|
|
|
|
2011-05-16 13:12:07 +00:00
|
|
|
list(APPEND SOURCE
|
|
|
|
msrle32.c
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/msrle32.def)
|
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(msrle32 MODULE ${SOURCE} rsrc.rc)
|
2011-05-16 13:12:07 +00:00
|
|
|
set_module_type(msrle32 win32dll)
|
|
|
|
target_link_libraries(msrle32 wine)
|
2013-09-23 10:17:50 +00:00
|
|
|
add_importlibs(msrle32 winmm user32 msvcrt kernel32 ntdll)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET msrle32 DESTINATION reactos/system32 FOR all)
|