[requires]
libnoise/1.0.0
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]
libnoise/1.0.0
[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("libnoise/1.0.0")
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:
libnoise
libnoise::libnoise
libnoise.pc
A simple use case using the CMake file name and the global target:
# ...
find_package(libnoise REQUIRED)
# ...
target_link_libraries(YOUR_TARGET libnoise::libnoise)
These are all the available headers. Some of these ones might be non-public; make sure of it by visiting the libnoise
homepage listed above:
#include "noise/basictypes.h"
#include "noise/exception.h"
#include "noise/interp.h"
#include "noise/latlon.h"
#include "noise/mathconsts.h"
#include "noise/misc.h"
#include "noise/model/cylinder.h"
#include "noise/model/line.h"
#include "noise/model/model.h"
#include "noise/model/plane.h"
#include "noise/model/sphere.h"
#include "noise/module/abs.h"
#include "noise/module/add.h"
#include "noise/module/billow.h"
#include "noise/module/blend.h"
#include "noise/module/cache.h"
#include "noise/module/checkerboard.h"
#include "noise/module/clamp.h"
#include "noise/module/const.h"
#include "noise/module/curve.h"
#include "noise/module/cylinders.h"
#include "noise/module/displace.h"
#include "noise/module/exponent.h"
#include "noise/module/invert.h"
#include "noise/module/max.h"
#include "noise/module/min.h"
#include "noise/module/module.h"
#include "noise/module/modulebase.h"
#include "noise/module/multiply.h"
#include "noise/module/perlin.h"
#include "noise/module/power.h"
#include "noise/module/ridgedmulti.h"
#include "noise/module/rotatepoint.h"
#include "noise/module/scalebias.h"
#include "noise/module/scalepoint.h"
#include "noise/module/select.h"
#include "noise/module/spheres.h"
#include "noise/module/terrace.h"
#include "noise/module/translatepoint.h"
#include "noise/module/turbulence.h"
#include "noise/module/voronoi.h"
#include "noise/noise.h"
#include "noise/noisegen.h"
#include "noise/vectortable.h"