mirror of
https://github.com/reactos/reactos.git
synced 2024-08-26 05:08:39 +00:00
![Oleg Dubinskiy](/assets/img/avatar_default.png)
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!
16 lines
478 B
CMake
16 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)
|