1
2remove_definitions(-D_WIN32_IE=0x600)
3
4add_definitions(-D__ROS_LONG64__)
5include_directories(BEFORE ${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
6
7if (MSVC)
8    # Disable warning C4477 (printf format warnings)
9    add_compile_flags("/wd4477")
10endif()
11
12list(APPEND SOURCE
13    olecallback.c
14    print.c
15    registry.c
16    wordpad.c)
17
18file(GLOB wordpad_rc_deps res/*.*)
19add_rc_deps(rsrc.rc ${wordpad_rc_deps})
20add_executable(wordpad ${SOURCE} rsrc.rc)
21set_module_type(wordpad win32gui)
22target_link_libraries(wordpad wine uuid)
23add_importlibs(wordpad comdlg32 ole32 shell32 user32 gdi32 advapi32 comctl32 msvcrt kernel32 ntdll)
24add_cd_file(TARGET wordpad DESTINATION reactos/system32 FOR all)
25