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