[TASKMGR] Process page: Allow using "Open File Location" functionality without runnin...
[reactos.git] / base / applications / mspaint / CMakeLists.txt
1 project(MSPAINT)
2
3 add_definitions(-DINITGUID)
4
5 if(DBG)
6 add_definitions(-D_DEBUG=1) # CORE-17505
7 endif()
8
9 list(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
30 file(GLOB mspaint_rc_deps img/*.*)
31 add_rc_deps(rsrc.rc ${mspaint_rc_deps})
32 add_executable(mspaint ${SOURCE} rsrc.rc)
33 set_module_type(mspaint win32gui UNICODE)
34 target_link_libraries(mspaint uuid cpprt atl_classes)
35 set_target_cpp_properties(mspaint WITH_EXCEPTIONS)
36 add_importlibs(mspaint comdlg32 shell32 user32 gdi32 advapi32 comctl32 msvcrt kernel32 rpcrt4 shlwapi ntdll)
37 add_pch(mspaint precomp.h SOURCE)
38 add_cd_file(TARGET mspaint DESTINATION reactos/system32 FOR all)