list(APPEND SOURCE dialog.c main.c settings.c text.c notepad.h) add_executable(notepad ${SOURCE} rsrc.rc) set_module_type(notepad win32gui UNICODE) add_importlibs(notepad user32 gdi32 comctl32 comdlg32 advapi32 shell32 msvcrt kernel32) add_pch(notepad notepad.h SOURCE) add_cd_file(TARGET notepad DESTINATION reactos/system32 FOR all)