[APPLICATIONS] Properly track resource file dependencies. CORE-9806
[reactos.git] / reactos / base / applications / notepad / CMakeLists.txt
1
2 list(APPEND SOURCE
3 dialog.c
4 main.c
5 settings.c
6 text.c
7 notepad.h)
8
9 add_rc_deps(rsrc.rc ${CMAKE_CURRENT_SOURCE_DIR}/res/notepad.ico)
10 add_executable(notepad ${SOURCE} rsrc.rc)
11 set_module_type(notepad win32gui UNICODE)
12 add_importlibs(notepad user32 gdi32 comctl32 comdlg32 advapi32 shell32 msvcrt kernel32)
13 add_pch(notepad notepad.h SOURCE)
14 add_cd_file(TARGET notepad DESTINATION reactos/system32 FOR all)