1 2add_definitions(-D__WINESRC__) 3include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine) 4spec2def(msftedit.dll msftedit.spec) 5 6list(APPEND SOURCE 7 msftedit_main.c 8 version.rc 9 ${CMAKE_CURRENT_BINARY_DIR}/msftedit_stubs.c 10 ${CMAKE_CURRENT_BINARY_DIR}/msftedit.def) 11 12add_library(msftedit MODULE ${SOURCE}) 13set_module_type(msftedit win32dll) 14target_link_libraries(msftedit uuid wine) 15add_importlibs(msftedit riched20 msvcrt kernel32 ntdll) 16add_cd_file(TARGET msftedit DESTINATION reactos/system32 FOR all) 17