[CMAKE]
[reactos.git] / base / applications / wordpad / CMakeLists.txt
1
2 include_directories(BEFORE ${REACTOS_SOURCE_DIR}/include/reactos/wine)
3
4 add_definitions(
5 -D__ROS_LONG64__
6 -D_DLL -D__USE_CRTIMP)
7
8 set_rc_compiler()
9
10 list(APPEND SOURCE
11 olecallback.c
12 print.c
13 registry.c
14 wordpad.c
15 rsrc.rc)
16
17 add_executable(wordpad ${SOURCE})
18
19 set_module_type(wordpad win32gui)
20
21 target_link_libraries(wordpad wine uuid)
22 add_importlibs(wordpad comdlg32 ole32 shell32 user32 gdi32 advapi32 comctl32 msvcrt kernel32 ntdll)
23 add_cd_file(TARGET wordpad DESTINATION reactos/system32 FOR all)