Recipe info
2023-11-12

Available packages
Linux
Windows
macOS
macOS Apple Silicon

Install
Add the following line to your conanfile.txt:
[requires]
flecs/3.2.8

Using flecs

Note

If you are new with Conan, we recommend to read the section how to consume packages.

If you need additional assistance, please ask a question in the Conan Center Index repository.

Simplest use case consuming this recipe and assuming CMake as your local build tool:

[requires]
flecs/3.2.8
[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("flecs/3.2.8")

    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:

  • CMake package name(s): flecs
  • CMake target name(s): flecs::flecs_static
  • _flecs => flecs::flecs_static
    
  • pkg-config file name(s): flecs.pc
  • _flecs => flecs-_flecs.pc
    

A simple use case using the CMake file name and the global target:

# ...
find_package(flecs REQUIRED)
# ...
target_link_libraries(YOUR_TARGET flecs::flecs_static)

These are all the available headers. Some of these ones might be non-public; make sure of it by visiting the flecs homepage listed above:

#include "flecs.h"
#include "flecs/addons/alerts.h"
#include "flecs/addons/app.h"
#include "flecs/addons/coredoc.h"
#include "flecs/addons/cpp/c_types.hpp"
#include "flecs/addons/cpp/component.hpp"
#include "flecs/addons/cpp/entity.hpp"
#include "flecs/addons/cpp/entity_view.hpp"
#include "flecs/addons/cpp/flecs.hpp"
#include "flecs/addons/cpp/impl/iter.hpp"
#include "flecs/addons/cpp/impl/world.hpp"
#include "flecs/addons/cpp/invoker.hpp"
#include "flecs/addons/cpp/iter.hpp"
#include "flecs/addons/cpp/lifecycle_traits.hpp"
#include "flecs/addons/cpp/log.hpp"
#include "flecs/addons/cpp/mixins/alerts/builder.hpp"
#include "flecs/addons/cpp/mixins/alerts/builder_i.hpp"
#include "flecs/addons/cpp/mixins/alerts/decl.hpp"
#include "flecs/addons/cpp/mixins/alerts/entity_view.inl"
#include "flecs/addons/cpp/mixins/alerts/impl.hpp"
#include "flecs/addons/cpp/mixins/alerts/mixin.inl"
#include "flecs/addons/cpp/mixins/app/builder.hpp"
#include "flecs/addons/cpp/mixins/app/decl.hpp"
#include "flecs/addons/cpp/mixins/app/mixin.inl"
#include "flecs/addons/cpp/mixins/component/impl.hpp"
#include "flecs/addons/cpp/mixins/component/mixin.inl"
#include "flecs/addons/cpp/mixins/doc/decl.hpp"
#include "flecs/addons/cpp/mixins/doc/entity_builder.inl"
#include "flecs/addons/cpp/mixins/doc/entity_view.inl"
#include "flecs/addons/cpp/mixins/doc/impl.hpp"
#include "flecs/addons/cpp/mixins/entity/builder.hpp"
#include "flecs/addons/cpp/mixins/entity/impl.hpp"
#include "flecs/addons/cpp/mixins/entity/mixin.inl"
#include "flecs/addons/cpp/mixins/enum/entity_view.inl"
#include "flecs/addons/cpp/mixins/enum/impl.hpp"
#include "flecs/addons/cpp/mixins/enum/mixin.inl"
#include "flecs/addons/cpp/mixins/event/builder.hpp"
#include "flecs/addons/cpp/mixins/event/decl.hpp"
#include "flecs/addons/cpp/mixins/event/impl.hpp"
#include "flecs/addons/cpp/mixins/event/mixin.inl"
#include "flecs/addons/cpp/mixins/filter/builder.hpp"
#include "flecs/addons/cpp/mixins/filter/builder_i.hpp"
#include "flecs/addons/cpp/mixins/filter/decl.hpp"
#include "flecs/addons/cpp/mixins/filter/impl.hpp"
#include "flecs/addons/cpp/mixins/filter/mixin.inl"
#include "flecs/addons/cpp/mixins/id/decl.hpp"
#include "flecs/addons/cpp/mixins/id/impl.hpp"
#include "flecs/addons/cpp/mixins/id/mixin.inl"
#include "flecs/addons/cpp/mixins/json/decl.hpp"
#include "flecs/addons/cpp/mixins/json/entity.inl"
#include "flecs/addons/cpp/mixins/json/entity_builder.inl"
#include "flecs/addons/cpp/mixins/json/entity_view.inl"
#include "flecs/addons/cpp/mixins/json/iterable.inl"
#include "flecs/addons/cpp/mixins/json/world.inl"
#include "flecs/addons/cpp/mixins/meta/component.inl"
#include "flecs/addons/cpp/mixins/meta/cursor.hpp"
#include "flecs/addons/cpp/mixins/meta/decl.hpp"
#include "flecs/addons/cpp/mixins/meta/entity_builder.inl"
#include "flecs/addons/cpp/mixins/meta/impl.hpp"
#include "flecs/addons/cpp/mixins/meta/opaque.hpp"
#include "flecs/addons/cpp/mixins/meta/untyped_component.inl"
#include "flecs/addons/cpp/mixins/meta/world.inl"
#include "flecs/addons/cpp/mixins/metrics/builder.hpp"
#include "flecs/addons/cpp/mixins/metrics/decl.hpp"
#include "flecs/addons/cpp/mixins/metrics/impl.hpp"
#include "flecs/addons/cpp/mixins/metrics/mixin.inl"
#include "flecs/addons/cpp/mixins/metrics/untyped_component.inl"
#include "flecs/addons/cpp/mixins/module/impl.hpp"
#include "flecs/addons/cpp/mixins/module/mixin.inl"
#include "flecs/addons/cpp/mixins/monitor/decl.hpp"
#include "flecs/addons/cpp/mixins/monitor/impl.hpp"
#include "flecs/addons/cpp/mixins/observer/builder.hpp"
#include "flecs/addons/cpp/mixins/observer/builder_i.hpp"
#include "flecs/addons/cpp/mixins/observer/decl.hpp"
#include "flecs/addons/cpp/mixins/observer/impl.hpp"
#include "flecs/addons/cpp/mixins/observer/mixin.inl"
#include "flecs/addons/cpp/mixins/pipeline/builder.hpp"
#include "flecs/addons/cpp/mixins/pipeline/builder_i.hpp"
#include "flecs/addons/cpp/mixins/pipeline/decl.hpp"
#include "flecs/addons/cpp/mixins/pipeline/impl.hpp"
#include "flecs/addons/cpp/mixins/pipeline/mixin.inl"
#include "flecs/addons/cpp/mixins/plecs/mixin.inl"
#include "flecs/addons/cpp/mixins/query/builder.hpp"
#include "flecs/addons/cpp/mixins/query/builder_i.hpp"
#include "flecs/addons/cpp/mixins/query/decl.hpp"
#include "flecs/addons/cpp/mixins/query/impl.hpp"
#include "flecs/addons/cpp/mixins/query/mixin.inl"
#include "flecs/addons/cpp/mixins/rest/decl.hpp"
#include "flecs/addons/cpp/mixins/rest/impl.hpp"
#include "flecs/addons/cpp/mixins/rule/builder.hpp"
#include "flecs/addons/cpp/mixins/rule/decl.hpp"
#include "flecs/addons/cpp/mixins/rule/impl.hpp"
#include "flecs/addons/cpp/mixins/rule/iterable.inl"
#include "flecs/addons/cpp/mixins/rule/mixin.inl"
#include "flecs/addons/cpp/mixins/snapshot/decl.hpp"
#include "flecs/addons/cpp/mixins/snapshot/impl.hpp"
#include "flecs/addons/cpp/mixins/snapshot/mixin.inl"
#include "flecs/addons/cpp/mixins/system/builder.hpp"
#include "flecs/addons/cpp/mixins/system/builder_i.hpp"
#include "flecs/addons/cpp/mixins/system/decl.hpp"
#include "flecs/addons/cpp/mixins/system/impl.hpp"
#include "flecs/addons/cpp/mixins/system/mixin.inl"
#include "flecs/addons/cpp/mixins/term/builder_i.hpp"
#include "flecs/addons/cpp/mixins/term/decl.hpp"
#include "flecs/addons/cpp/mixins/term/impl.hpp"
#include "flecs/addons/cpp/mixins/term/mixin.inl"
#include "flecs/addons/cpp/mixins/timer/decl.hpp"
#include "flecs/addons/cpp/mixins/timer/impl.hpp"
#include "flecs/addons/cpp/mixins/timer/mixin.inl"
#include "flecs/addons/cpp/mixins/timer/system_mixin.inl"
#include "flecs/addons/cpp/mixins/units/decl.hpp"
#include "flecs/addons/cpp/mixins/units/impl.hpp"
#include "flecs/addons/cpp/pair.hpp"
#include "flecs/addons/cpp/ref.hpp"
#include "flecs/addons/cpp/table.hpp"
#include "flecs/addons/cpp/type.hpp"
#include "flecs/addons/cpp/utils/array.hpp"
#include "flecs/addons/cpp/utils/builder.hpp"
#include "flecs/addons/cpp/utils/enum.hpp"
#include "flecs/addons/cpp/utils/function_traits.hpp"
#include "flecs/addons/cpp/utils/iterable.hpp"
#include "flecs/addons/cpp/utils/node_builder.hpp"
#include "flecs/addons/cpp/utils/signature.hpp"
#include "flecs/addons/cpp/utils/string.hpp"
#include "flecs/addons/cpp/utils/stringstream.hpp"
#include "flecs/addons/cpp/utils/utils.hpp"
#include "flecs/addons/cpp/world.hpp"
#include "flecs/addons/deprecated.h"
#include "flecs/addons/doc.h"
#include "flecs/addons/expr.h"
#include "flecs/addons/flecs_c.h"
#include "flecs/addons/flecs_cpp.h"
#include "flecs/addons/http.h"
#include "flecs/addons/journal.h"
#include "flecs/addons/json.h"
#include "flecs/addons/log.h"
#include "flecs/addons/meta.h"
#include "flecs/addons/meta_c.h"
#include "flecs/addons/metrics.h"
#include "flecs/addons/module.h"
#include "flecs/addons/monitor.h"
#include "flecs/addons/os_api_impl.h"
#include "flecs/addons/parser.h"
#include "flecs/addons/pipeline.h"
#include "flecs/addons/plecs.h"
#include "flecs/addons/rest.h"
#include "flecs/addons/rules.h"
#include "flecs/addons/snapshot.h"
#include "flecs/addons/stats.h"
#include "flecs/addons/system.h"
#include "flecs/addons/timer.h"
#include "flecs/addons/units.h"
#include "flecs/bake_config.h"
#include "flecs/os_api.h"
#include "flecs/private/addons.h"
#include "flecs/private/allocator.h"
#include "flecs/private/api_defines.h"
#include "flecs/private/api_flags.h"
#include "flecs/private/api_support.h"
#include "flecs/private/api_types.h"
#include "flecs/private/bitset.h"
#include "flecs/private/block_allocator.h"
#include "flecs/private/hashmap.h"
#include "flecs/private/map.h"
#include "flecs/private/sparse.h"
#include "flecs/private/strbuf.h"
#include "flecs/private/switch_list.h"
#include "flecs/private/vec.h"