[CMAKE]
[reactos.git] / dll / win32 / msftedit / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
4
5 set_rc_compiler()
6
7 spec2def(msftedit.dll msftedit.spec)
8
9 list(APPEND SOURCE
10 msftedit_main.c
11 version.rc
12 ${CMAKE_CURRENT_BINARY_DIR}/msftedit_stubs.c
13 ${CMAKE_CURRENT_BINARY_DIR}/msftedit.def)
14
15 add_library(msftedit SHARED ${SOURCE})
16
17 set_module_type(msftedit win32dll)
18
19 target_link_libraries(msftedit uuid wine)
20 add_importlibs(msftedit riched20 msvcrt kernel32 ntdll)
21 add_cd_file(TARGET msftedit DESTINATION reactos/system32)