2015-08-17 14:47:51 +00:00
|
|
|
project(MSPAINT)
|
2015-05-08 16:27:46 +00:00
|
|
|
|
2016-09-26 19:53:42 +00:00
|
|
|
add_definitions(-DINITGUID)
|
2015-05-08 16:27:46 +00:00
|
|
|
|
2022-09-10 15:27:50 +00:00
|
|
|
if(DBG)
|
|
|
|
add_definitions(-D_DEBUG=1) # CORE-17505
|
|
|
|
endif()
|
|
|
|
|
2015-05-08 16:02:36 +00:00
|
|
|
list(APPEND SOURCE
|
2015-05-08 16:27:46 +00:00
|
|
|
dialogs.cpp
|
|
|
|
dib.cpp
|
|
|
|
drawing.cpp
|
2015-08-17 12:03:39 +00:00
|
|
|
fullscreen.cpp
|
2015-05-08 16:27:46 +00:00
|
|
|
history.cpp
|
2015-07-07 11:02:30 +00:00
|
|
|
imgarea.cpp
|
2015-05-08 16:27:46 +00:00
|
|
|
main.cpp
|
2015-07-07 11:02:30 +00:00
|
|
|
miniature.cpp
|
2015-05-08 16:27:46 +00:00
|
|
|
mouse.cpp
|
|
|
|
palette.cpp
|
2015-07-07 11:15:24 +00:00
|
|
|
palettemodel.cpp
|
2015-05-08 16:27:46 +00:00
|
|
|
registry.cpp
|
|
|
|
scrollbox.cpp
|
|
|
|
selection.cpp
|
2015-07-09 09:48:01 +00:00
|
|
|
selectionmodel.cpp
|
2015-05-08 16:27:46 +00:00
|
|
|
sizebox.cpp
|
|
|
|
textedit.cpp
|
2015-07-07 11:44:50 +00:00
|
|
|
toolbox.cpp
|
2015-05-08 16:27:46 +00:00
|
|
|
toolsettings.cpp
|
2015-07-07 11:15:24 +00:00
|
|
|
toolsmodel.cpp
|
2015-05-08 16:27:46 +00:00
|
|
|
winproc.cpp
|
2015-05-08 16:02:36 +00:00
|
|
|
precomp.h)
|
|
|
|
|
2015-08-17 14:47:51 +00:00
|
|
|
file(GLOB mspaint_rc_deps icons/*.*)
|
|
|
|
add_rc_deps(rsrc.rc ${mspaint_rc_deps})
|
|
|
|
add_executable(mspaint ${SOURCE} rsrc.rc)
|
|
|
|
set_module_type(mspaint win32gui UNICODE)
|
2020-09-18 09:08:58 +00:00
|
|
|
target_link_libraries(mspaint uuid cpprt atl_classes)
|
2020-09-18 07:34:18 +00:00
|
|
|
set_target_cpp_properties(mspaint WITH_EXCEPTIONS)
|
2022-01-09 23:50:37 +00:00
|
|
|
add_importlibs(mspaint hhctrl comdlg32 shell32 user32 gdi32 advapi32 comctl32 msvcrt kernel32 rpcrt4 shlwapi ntdll)
|
2015-08-17 14:47:51 +00:00
|
|
|
add_pch(mspaint precomp.h SOURCE)
|
|
|
|
add_cd_file(TARGET mspaint DESTINATION reactos/system32 FOR all)
|