2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
dialog.c
|
|
|
|
main.c
|
|
|
|
settings.c
|
|
|
|
text.c
|
2014-02-08 18:13:52 +00:00
|
|
|
notepad.h)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2015-06-17 17:20:29 +00:00
|
|
|
add_rc_deps(rsrc.rc ${CMAKE_CURRENT_SOURCE_DIR}/res/notepad.ico)
|
2014-02-08 18:13:52 +00:00
|
|
|
add_executable(notepad ${SOURCE} rsrc.rc)
|
2011-10-13 14:02:21 +00:00
|
|
|
set_module_type(notepad win32gui UNICODE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_importlibs(notepad user32 gdi32 comctl32 comdlg32 advapi32 shell32 msvcrt kernel32)
|
2014-02-08 18:13:52 +00:00
|
|
|
add_pch(notepad notepad.h SOURCE)
|
2019-05-05 17:48:37 +00:00
|
|
|
add_cd_file(TARGET notepad DESTINATION reactos FOR all)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET notepad DESTINATION reactos/system32 FOR all)
|