1project(MSPAINT)
2
3add_definitions(-DINITGUID)
4
5list(APPEND SOURCE
6    dialogs.cpp
7    dib.cpp
8    drawing.cpp
9    fullscreen.cpp
10    history.cpp
11    imgarea.cpp
12    main.cpp
13    miniature.cpp
14    mouse.cpp
15    palette.cpp
16    palettemodel.cpp
17    registry.cpp
18    scrollbox.cpp
19    selection.cpp
20    selectionmodel.cpp
21    sizebox.cpp
22    textedit.cpp
23    toolbox.cpp
24    toolsettings.cpp
25    toolsmodel.cpp
26    winproc.cpp
27    precomp.h)
28
29file(GLOB mspaint_rc_deps icons/*.*)
30add_rc_deps(rsrc.rc ${mspaint_rc_deps})
31add_executable(mspaint ${SOURCE} rsrc.rc)
32set_module_type(mspaint win32gui UNICODE)
33target_link_libraries(mspaint uuid cpprt atl_classes)
34set_target_cpp_properties(mspaint WITH_EXCEPTIONS)
35add_importlibs(mspaint hhctrl comdlg32 shell32 user32 gdi32 advapi32 comctl32 msvcrt kernel32 rpcrt4 shlwapi)
36add_pch(mspaint precomp.h SOURCE)
37add_cd_file(TARGET mspaint DESTINATION reactos/system32 FOR all)
38