377f70d0c9c14cdcc8c12167aba3d529fe76c4a7
[reactos.git] / reactos / base / applications / mspaint_new / CMakeLists.txt
1 project(MSPAINT_NEW)
2
3 set_cpp(WITH_RUNTIME)
4
5 include_directories(${REACTOS_SOURCE_DIR}/lib/atl)
6
7 list(APPEND SOURCE
8 dialogs.cpp
9 dib.cpp
10 drawing.cpp
11 history.cpp
12 imgarea.cpp
13 main.cpp
14 miniature.cpp
15 mouse.cpp
16 palette.cpp
17 palettemodel.cpp
18 registry.cpp
19 scrollbox.cpp
20 selection.cpp
21 sizebox.cpp
22 textedit.cpp
23 toolbox.cpp
24 toolsettings.cpp
25 toolsmodel.cpp
26 winproc.cpp
27 precomp.h)
28
29 file(GLOB mspaint_new_rc_deps icons/*.*)
30 add_rc_deps(rsrc.rc ${mspaint_new_rc_deps})
31 add_executable(mspaint_new ${SOURCE} rsrc.rc)
32 set_module_type(mspaint_new win32gui UNICODE)
33 target_link_libraries(mspaint_new atlnew)
34 add_importlibs(mspaint_new hhctrl comdlg32 shell32 user32 gdi32 advapi32 comctl32 msvcrt kernel32)
35 add_pch(mspaint_new precomp.h SOURCE)
36 add_cd_file(TARGET mspaint_new DESTINATION reactos/system32 FOR all)