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