[requires]
msdfgen/1.10
NoteSimplest use case consuming this recipe and assuming CMake as your local build tool:
If you are a new Conan user, we recommend reading the how to consume packages tutorial.If you need additional assistance, please ask a question in the Conan Center Index repository.
[requires]
msdfgen/1.10
[generators]
CMakeDeps
CMakeToolchain
[layout]
cmake_layout
from conan import ConanFile
from conan.tools.cmake import cmake_layout
class ExampleRecipe(ConanFile):
settings = "os", "compiler", "build_type", "arch"
generators = "CMakeDeps", "CMakeToolchain"
def requirements(self):
self.requires("msdfgen/1.10")
def layout(self):
cmake_layout(self)
Now, you can run this Conan command to locally install (and build if necessary) this recipe and its dependencies (if any):
$ conan install conanfile.txt --build=missing
Useful information to take into account to consume this library:
These are the main declared targets:
msdfgen
msdfgen::msdgen-all-unofficial
_msdfgen => msdfgen::msdfgen
msdfgen-ext => msdfgen::msdfgen-ext
msdfgen.pc
_msdfgen => msdfgen-_msdfgen.pc
msdfgen-ext => msdfgen-msdfgen-ext.pc
A simple use case using the CMake file name and the global target:
# ...
find_package(msdfgen REQUIRED)
# ...
target_link_libraries(YOUR_TARGET msdfgen::msdgen-all-unofficial)
These are all the available headers. Some of these ones might be non-public; make sure of it by visiting the msdfgen
homepage listed above:
#include "msdfgen/core/Bitmap.h"
#include "msdfgen/core/Bitmap.hpp"
#include "msdfgen/core/BitmapRef.hpp"
#include "msdfgen/core/Contour.h"
#include "msdfgen/core/EdgeColor.h"
#include "msdfgen/core/EdgeHolder.h"
#include "msdfgen/core/MSDFErrorCorrection.h"
#include "msdfgen/core/Projection.h"
#include "msdfgen/core/Scanline.h"
#include "msdfgen/core/Shape.h"
#include "msdfgen/core/ShapeDistanceFinder.h"
#include "msdfgen/core/ShapeDistanceFinder.hpp"
#include "msdfgen/core/SignedDistance.h"
#include "msdfgen/core/Vector2.h"
#include "msdfgen/core/arithmetics.hpp"
#include "msdfgen/core/bitmap-interpolation.hpp"
#include "msdfgen/core/contour-combiners.h"
#include "msdfgen/core/edge-coloring.h"
#include "msdfgen/core/edge-segments.h"
#include "msdfgen/core/edge-selectors.h"
#include "msdfgen/core/equation-solver.h"
#include "msdfgen/core/generator-config.h"
#include "msdfgen/core/msdf-error-correction.h"
#include "msdfgen/core/pixel-conversion.hpp"
#include "msdfgen/core/rasterization.h"
#include "msdfgen/core/render-sdf.h"
#include "msdfgen/core/save-bmp.h"
#include "msdfgen/core/save-tiff.h"
#include "msdfgen/core/sdf-error-estimation.h"
#include "msdfgen/core/shape-description.h"
#include "msdfgen/ext/import-font.h"
#include "msdfgen/ext/import-svg.h"
#include "msdfgen/ext/resolve-shape-geometry.h"
#include "msdfgen/ext/save-png.h"
#include "msdfgen/msdfgen-ext.h"
#include "msdfgen/msdfgen.h"