[requires]
freetype/2.13.2
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]
freetype/2.13.2
[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("freetype/2.13.2")
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:
freetype (config), Freetype (module)
Freetype::Freetype
freetype2.pc
A simple use case using the CMake file name and the global target:
# ...
find_package(freetype REQUIRED)
# ...
target_link_libraries(YOUR_TARGET Freetype::Freetype)
These are all the available headers. Some of these ones might be non-public; make sure of it by visiting the freetype
homepage listed above:
#include "freetype/config/ftconfig.h"
#include "freetype/config/ftheader.h"
#include "freetype/config/ftmodule.h"
#include "freetype/config/ftoption.h"
#include "freetype/config/ftstdlib.h"
#include "freetype/config/integer-types.h"
#include "freetype/config/mac-support.h"
#include "freetype/config/public-macros.h"
#include "freetype/freetype.h"
#include "freetype/ftadvanc.h"
#include "freetype/ftbbox.h"
#include "freetype/ftbdf.h"
#include "freetype/ftbitmap.h"
#include "freetype/ftbzip2.h"
#include "freetype/ftcache.h"
#include "freetype/ftchapters.h"
#include "freetype/ftcid.h"
#include "freetype/ftcolor.h"
#include "freetype/ftdriver.h"
#include "freetype/fterrdef.h"
#include "freetype/fterrors.h"
#include "freetype/ftfntfmt.h"
#include "freetype/ftgasp.h"
#include "freetype/ftglyph.h"
#include "freetype/ftgxval.h"
#include "freetype/ftgzip.h"
#include "freetype/ftimage.h"
#include "freetype/ftincrem.h"
#include "freetype/ftlcdfil.h"
#include "freetype/ftlist.h"
#include "freetype/ftlzw.h"
#include "freetype/ftmac.h"
#include "freetype/ftmm.h"
#include "freetype/ftmodapi.h"
#include "freetype/ftmoderr.h"
#include "freetype/ftotval.h"
#include "freetype/ftoutln.h"
#include "freetype/ftparams.h"
#include "freetype/ftpfr.h"
#include "freetype/ftrender.h"
#include "freetype/ftsizes.h"
#include "freetype/ftsnames.h"
#include "freetype/ftstroke.h"
#include "freetype/ftsynth.h"
#include "freetype/ftsystem.h"
#include "freetype/fttrigon.h"
#include "freetype/fttypes.h"
#include "freetype/ftwinfnt.h"
#include "freetype/otsvg.h"
#include "freetype/t1tables.h"
#include "freetype/ttnameid.h"
#include "freetype/tttables.h"
#include "freetype/tttags.h"
#include "freetype2/freetype/config/ftconfig.h"
#include "freetype2/freetype/config/ftheader.h"
#include "freetype2/freetype/config/ftmodule.h"
#include "freetype2/freetype/config/ftoption.h"
#include "freetype2/freetype/config/ftstdlib.h"
#include "freetype2/freetype/config/integer-types.h"
#include "freetype2/freetype/config/mac-support.h"
#include "freetype2/freetype/config/public-macros.h"
#include "freetype2/freetype/freetype.h"
#include "freetype2/freetype/ftadvanc.h"
#include "freetype2/freetype/ftbbox.h"
#include "freetype2/freetype/ftbdf.h"
#include "freetype2/freetype/ftbitmap.h"
#include "freetype2/freetype/ftbzip2.h"
#include "freetype2/freetype/ftcache.h"
#include "freetype2/freetype/ftchapters.h"
#include "freetype2/freetype/ftcid.h"
#include "freetype2/freetype/ftcolor.h"
#include "freetype2/freetype/ftdriver.h"
#include "freetype2/freetype/fterrdef.h"
#include "freetype2/freetype/fterrors.h"
#include "freetype2/freetype/ftfntfmt.h"
#include "freetype2/freetype/ftgasp.h"
#include "freetype2/freetype/ftglyph.h"
#include "freetype2/freetype/ftgxval.h"
#include "freetype2/freetype/ftgzip.h"
#include "freetype2/freetype/ftimage.h"
#include "freetype2/freetype/ftincrem.h"
#include "freetype2/freetype/ftlcdfil.h"
#include "freetype2/freetype/ftlist.h"
#include "freetype2/freetype/ftlzw.h"
#include "freetype2/freetype/ftmac.h"
#include "freetype2/freetype/ftmm.h"
#include "freetype2/freetype/ftmodapi.h"
#include "freetype2/freetype/ftmoderr.h"
#include "freetype2/freetype/ftotval.h"
#include "freetype2/freetype/ftoutln.h"
#include "freetype2/freetype/ftparams.h"
#include "freetype2/freetype/ftpfr.h"
#include "freetype2/freetype/ftrender.h"
#include "freetype2/freetype/ftsizes.h"
#include "freetype2/freetype/ftsnames.h"
#include "freetype2/freetype/ftstroke.h"
#include "freetype2/freetype/ftsynth.h"
#include "freetype2/freetype/ftsystem.h"
#include "freetype2/freetype/fttrigon.h"
#include "freetype2/freetype/fttypes.h"
#include "freetype2/freetype/ftwinfnt.h"
#include "freetype2/freetype/otsvg.h"
#include "freetype2/freetype/t1tables.h"
#include "freetype2/freetype/ttnameid.h"
#include "freetype2/freetype/tttables.h"
#include "freetype2/freetype/tttags.h"
#include "freetype2/ft2build.h"
#include "ft2build.h"