reactos/base/applications/mspaint
Jérôme Gardou d6ea8659c8 [CMAKE] Get rid of the set_cpp macro
Instead of messing with global variables and the like, we introduce two target properties:
 - WITH_CXX_EXCEPTIONS: if you want to use C++ exceptions
 - WITH_CXX_RTTI: if you need RTTI in your module
You can use the newly introduced set_target_cpp_properties function, with WITH_EXCEPTIONS and WITH_RTTI arguments
We also introduce two libraries :
 - cpprt: for C++ runtime routines
 - cppstl: for the C++ standard template library

NB: On GCC, this requires to create imported libraries with the related built-in libraries:libsupc++, limingwex, libstdc++

Finally, we manage the relevant flags with the ad-hoc generator expressions

So, if you don't need exceptions, nor RTTI, nor use any runtime at all: you simply have nothing else to do than add your C++ file to your module
2020-10-20 21:44:54 +02:00
..
help
icons
lang [MSPAINT] Improve Japanese (ja-JP) translation 3 2020-09-13 17:33:57 +09:00
CMakeLists.txt [CMAKE] Get rid of the set_cpp macro 2020-10-20 21:44:54 +02:00
common.h
definitions.h
dialogs.cpp
dialogs.h
dib.cpp [MSPAINT] Follow-up of #2686 2020-04-29 08:39:47 +09:00
dib.h [MSPAINT] Refactor loading/saving image file (#2686) 2020-04-29 07:44:18 +09:00
drawing.cpp
drawing.h
fullscreen.cpp
fullscreen.h
globalvar.h [MSPAINT] Refactor loading/saving image file (#2686) 2020-04-29 07:44:18 +09:00
history.cpp [MSPAINT] Refactor loading/saving image file (#2686) 2020-04-29 07:44:18 +09:00
history.h [MSPAINT] Refactor loading/saving image file (#2686) 2020-04-29 07:44:18 +09:00
imgarea.cpp [MSPAINT] Refactor updateCanvasAndScrollbars 2019-12-24 04:30:25 +09:00
imgarea.h
main.cpp [MSPAINT] Refactor loading/saving image file (#2686) 2020-04-29 07:44:18 +09:00
miniature.cpp
miniature.h
mouse.cpp
mouse.h
mspaint.exe.amd64.manifest
mspaint.exe.manifest
palette.cpp
palette.h
palettemodel.cpp
palettemodel.h
precomp.h
registry.cpp [SHELL32] Rewrite SHAddToRecentDocs (#2333) 2020-02-14 11:05:21 +09:00
registry.h
rsrc.rc [MSPAINT] Add Indonesian translation. (#1598) 2019-06-04 15:52:04 +02:00
scrollbox.cpp
scrollbox.h
selection.cpp [MSPAINT] Use '%ld x %ld' rather than '%d x %d' 2019-12-24 13:29:29 +09:00
selection.h
selectionmodel.cpp [MSPAINT] Fix memory leak of SelectionModel (#2169) 2019-12-25 15:46:29 +09:00
selectionmodel.h [MSPAINT] Fix memory leak of SelectionModel (#2169) 2019-12-25 15:46:29 +09:00
sizebox.cpp
sizebox.h
textedit.cpp
textedit.h
toolbox.cpp [MSPAINT] Use hProgInstance for LoadImage 2019-12-24 04:13:43 +09:00
toolbox.h
toolsettings.cpp
toolsettings.h
toolsmodel.cpp
toolsmodel.h
winproc.cpp [MSPAINT] Refactor loading/saving image file (#2686) 2020-04-29 07:44:18 +09:00
winproc.h [MSPAINT] Refactor loading/saving image file (#2686) 2020-04-29 07:44:18 +09:00