reactos/base/applications/notepad/CMakeLists.txt
Oleg Dubinskiy 4172325559 [NOTEPAD] Duplicate notepad.exe in SystemRoot. CORE-16003 (#1555)
This is also done on Windows for backwards compatibility with Windows 3.x/9x.
But, it's also used (i.e. "required") by some installers, like Doom 3 Demo installer and Battlefield 1942 Single Player Demo installer, for successful opening of their Readme file at the end of their installation!
2019-05-05 19:48:37 +02:00

15 lines
478 B
CMake

list(APPEND SOURCE
dialog.c
main.c
settings.c
text.c
notepad.h)
add_rc_deps(rsrc.rc ${CMAKE_CURRENT_SOURCE_DIR}/res/notepad.ico)
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 FOR all)
add_cd_file(TARGET notepad DESTINATION reactos/system32 FOR all)