xref: /reactos/dll/win32/mlang/CMakeLists.txt (revision 1734f297)
1
2add_definitions(
3    -D__WINESRC__
4    -DCOM_NO_WINDOWS_H)
5
6include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
7spec2def(mlang.dll mlang.spec ADD_IMPORTLIB)
8
9list(APPEND SOURCE
10    mlang.c
11    ${CMAKE_CURRENT_BINARY_DIR}/mlang_stubs.c
12    ${CMAKE_CURRENT_BINARY_DIR}/mlang.def)
13
14add_library(mlang MODULE ${SOURCE} mlang.rc)
15set_module_type(mlang win32dll UNICODE)
16target_link_libraries(mlang uuid wine)
17add_delay_importlibs(mlang oleaut32)
18add_importlibs(mlang gdi32 advapi32 msvcrt kernel32 ntdll)
19add_cd_file(TARGET mlang DESTINATION reactos/system32 FOR all)
20