[CMAKE]
[reactos.git] / dll / win32 / mlang / CMakeLists.txt
1
2 add_definitions(
3 -D__WINESRC__
4 -D_DLL -D__USE_CRTIMP)
5
6 remove_definitions(-D_WIN32_WINNT=0x502)
7 add_definitions(-D_WIN32_WINNT=0x600)
8
9 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
10
11 spec2def(mlang.dll mlang.spec)
12
13 list(APPEND SOURCE
14 mlang.c
15 regsvr.c
16 ${CMAKE_CURRENT_BINARY_DIR}/mlang_stubs.c
17 ${CMAKE_CURRENT_BINARY_DIR}/mlang.def)
18
19 add_library(mlang SHARED ${SOURCE})
20
21 set_entrypoint(mlang 0)
22
23 target_link_libraries(mlang uuid wine)
24
25 add_importlibs(mlang
26 ole32
27 user32
28 gdi32
29 advapi32
30 oleaut32
31 kernel32
32 ntdll)
33
34 add_importlib_target(mlang.spec)
35 add_dependencies(mlang psdk)
36 add_cd_file(TARGET mlang DESTINATION reactos/system32)