[NtUser]
[reactos.git] / reactos / base / applications / wordpad / CMakeLists.txt
1
2 remove_definitions(-D_WIN32_IE=0x600)
3
4 add_definitions(-D__ROS_LONG64__)
5 include_directories(BEFORE ${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
6
7 list(APPEND SOURCE
8 olecallback.c
9 print.c
10 registry.c
11 wordpad.c)
12
13 file(GLOB wordpad_rc_deps res/*.*)
14 add_rc_deps(rsrc.rc ${wordpad_rc_deps})
15 add_executable(wordpad ${SOURCE} rsrc.rc)
16 set_module_type(wordpad win32gui)
17 target_link_libraries(wordpad wine uuid)
18 add_importlibs(wordpad comdlg32 ole32 shell32 user32 gdi32 advapi32 comctl32 msvcrt kernel32 ntdll)
19 add_cd_file(TARGET wordpad DESTINATION reactos/system32 FOR all)