Add cmake compile/install to Magick++ project.
-
Download original Magick++ source code from http://www.graphicsmagick.org/. Magick++ source code is part of the whole graphicsmagick source.
-
Download this repo to a folder named Magick++
-
Overwrite (merge) this Magick++ folder to the sub folder of Magick++ in graphicsmagick source.
-
run cmake commands in the sub folder of Magick++
-
cmake compiling of Magick++ as a dll project.
-
cmake install into system
-
Use the this project by other cmake project
find_package(Magick++ REQUIRED)
target_link_libraries(dexe Magick++::Magick++)