mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
598dd51d70
CORE-18837
20 lines
542 B
CMake
20 lines
542 B
CMake
|
|
if(DBG)
|
|
add_definitions(-D_DEBUG=1)
|
|
endif()
|
|
|
|
list(APPEND SOURCE
|
|
dialog.c
|
|
main.c
|
|
printing.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)
|