2011-05-16 13:12:07 +00:00
|
|
|
|
2012-01-28 17:11:55 +00:00
|
|
|
add_definitions(
|
|
|
|
-D__WINESRC__
|
|
|
|
-DCOM_NO_WINDOWS_H)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2016-04-20 12:36:25 +00:00
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
2012-03-07 21:21:27 +00:00
|
|
|
spec2def(mlang.dll mlang.spec ADD_IMPORTLIB)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
mlang.c
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/mlang_stubs.c
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/mlang.def)
|
|
|
|
|
2013-09-21 13:08:12 +00:00
|
|
|
add_library(mlang SHARED ${SOURCE} mlang.rc)
|
2012-03-15 12:57:45 +00:00
|
|
|
set_module_type(mlang win32dll UNICODE)
|
2011-05-16 13:12:07 +00:00
|
|
|
target_link_libraries(mlang uuid wine)
|
2011-09-04 00:52:28 +00:00
|
|
|
add_delay_importlibs(mlang oleaut32)
|
2013-09-21 13:08:12 +00:00
|
|
|
add_importlibs(mlang gdi32 msvcrt kernel32 ntdll)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET mlang DESTINATION reactos/system32 FOR all)
|