[CMAKE]
[reactos.git] / base / applications / notepad / CMakeLists.txt
1
2 list(APPEND SOURCE
3 dialog.c
4 main.c
5 settings.c
6 text.c
7 rsrc.rc)
8
9 set_rc_compiler()
10
11 add_pch(notepad ${CMAKE_CURRENT_SOURCE_DIR}/notepad.h ${SOURCE})
12
13 add_executable(notepad ${CMAKE_CURRENT_BINARY_DIR}/notepad_notepad.h.gch ${SOURCE})
14
15 set_module_type(notepad win32gui)
16 add_importlibs(notepad user32 gdi32 comctl32 comdlg32 advapi32 shell32 msvcrt kernel32)
17 add_cd_file(TARGET notepad DESTINATION reactos/system32 FOR all)