[NtUser]
[reactos.git] / reactos / base / applications / mspaint / CMakeLists.txt
1 project(MSPAINT)
2
3 add_definitions(-DINITGUID)
4 set_cpp(WITH_RUNTIME WITH_EXCEPTIONS)
5
6 include_directories(${REACTOS_SOURCE_DIR}/sdk/lib/atl)
7
8 list(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
32 file(GLOB mspaint_rc_deps icons/*.*)
33 add_rc_deps(rsrc.rc ${mspaint_rc_deps})
34 add_executable(mspaint ${SOURCE} rsrc.rc)
35 set_module_type(mspaint win32gui UNICODE)
36 target_link_libraries(mspaint atlnew uuid)
37 add_importlibs(mspaint hhctrl comdlg32 shell32 user32 gdi32 advapi32 comctl32 msvcrt kernel32 rpcrt4 shlwapi)
38 add_pch(mspaint precomp.h SOURCE)
39 add_cd_file(TARGET mspaint DESTINATION reactos/system32 FOR all)