diff --git a/BUILD.bazel b/BUILD.bazel index 0b5f79f..3687282 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -60,8 +60,6 @@ ecsact_build_recipe( "https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/entity/group.hpp", "https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/entity/fwd.hpp", "https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/entity/sparse_set.hpp", - "https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/entity/group.hpp", - "https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/entity/storage.hpp", "https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/entity/component.hpp", "https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/entity/mixin.hpp", "https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/entity/view.hpp", @@ -165,8 +163,6 @@ ecsact_build_recipe( ], ) -exports_files(["build_recipe.yml"]) - ecsact_build_recipe_bundle( name = "ecsact_rt_entt", recipes = [":ecsact_rt_entt_recipe"], diff --git a/build_recipe.yml b/build_recipe.yml deleted file mode 100644 index be98340..0000000 --- a/build_recipe.yml +++ /dev/null @@ -1,242 +0,0 @@ -name: RT EnTT Recipe - -sources: - - codegen: - - ../ecsact_lang_cpp~/cpp_header_codegen/ecsact_cpp_header_codegen - - ../ecsact_rt_entt~/rt_entt_codegen/ecsact_rt_entt_codegen - outdir: _rt_entt_codegen_outdir - # entt - - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/entt.hpp - outdir: include/entt - # entt/graph - - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/graph/adjacency_matrix.hpp - outdir: include/entt/graph - - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/graph/flow.hpp - outdir: include/entt/graph - - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/graph/dot.hpp - outdir: include/entt/graph - - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/graph/fwd.hpp - outdir: include/entt/graph - # entt/locator - - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/locator/locator.hpp - outdir: include/entt/locator - # entt/platform - - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/platform/android-ndk-r17.hpp - outdir: include/entt/platform - # entt/poly - - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/poly/fwd.hpp - outdir: include/entt/poly - - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/poly/poly.hpp - outdir: include/entt/poly - # entt/process - - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/process/fwd.hpp - outdir: include/entt/process - - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/process/process.hpp - outdir: include/entt/process - - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/process/scheduler.hpp - outdir: include/entt/process - # entt/resource - - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/resource/cache.hpp - outdir: include/entt/resource - - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/resource/fwd.hpp - outdir: include/entt/resource - - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/resource/loader.hpp - outdir: include/entt/resource - - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/resource/resource.hpp - outdir: include/entt/resource - # entt/entity - - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/entity/registry.hpp - outdir: include/entt/entity - - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/entity/storage.hpp - outdir: include/entt/entity - - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/entity/entity.hpp - outdir: include/entt/entity - - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/entity/group.hpp - outdir: include/entt/entity - - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/entity/fwd.hpp - outdir: include/entt/entity - - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/entity/sparse_set.hpp - outdir: include/entt/entity - - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/entity/group.hpp - outdir: include/entt/entity - - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/entity/storage.hpp - outdir: include/entt/entity - - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/entity/component.hpp - outdir: include/entt/entity - - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/entity/mixin.hpp - outdir: include/entt/entity - - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/entity/view.hpp - outdir: include/entt/entity - - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/entity/handle.hpp - outdir: include/entt/entity - - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/entity/helper.hpp - outdir: include/entt/entity - - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/entity/observer.hpp - outdir: include/entt/entity - - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/entity/organizer.hpp - outdir: include/entt/entity - - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/entity/runtime_view.hpp - outdir: include/entt/entity - - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/entity/snapshot.hpp - outdir: include/entt/entity - # entt/meta - - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/meta/adl_pointer.hpp - outdir: include/entt/meta - - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/meta/container.hpp - outdir: include/entt/meta - - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/meta/context.hpp - outdir: include/entt/meta - - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/meta/factory.hpp - outdir: include/entt/meta - - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/meta/fwd.hpp - outdir: include/entt/meta - - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/meta/meta.hpp - outdir: include/entt/meta - - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/meta/node.hpp - outdir: include/entt/meta - - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/meta/pointer.hpp - outdir: include/entt/meta - - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/meta/policy.hpp - outdir: include/entt/meta - - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/meta/range.hpp - outdir: include/entt/meta - - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/meta/resolve.hpp - outdir: include/entt/meta - - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/meta/template.hpp - outdir: include/entt/meta - - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/meta/type_traits.hpp - outdir: include/entt/meta - - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/meta/utility.hpp - outdir: include/entt/meta - # entt/signal - - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/signal/sigh.hpp - outdir: include/entt/signal - - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/signal/delegate.hpp - outdir: include/entt/signal - - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/signal/dispatcher.hpp - outdir: include/entt/signal - - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/signal/emitter.hpp - outdir: include/entt/signal - - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/signal/fwd.hpp - outdir: include/entt/signal - # entt/config - - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/config/version.h - outdir: include/entt/config - - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/config/macro.h - outdir: include/entt/config - - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/config/config.h - outdir: include/entt/config - # entt/container - - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/container/dense_map.hpp - outdir: include/entt/container - - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/container/fwd.hpp - outdir: include/entt/container - - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/container/dense_set.hpp - outdir: include/entt/container - # entt/core - - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/core/compressed_pair.hpp - outdir: include/entt/core - - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/core/type_traits.hpp - outdir: include/entt/core - - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/core/fwd.hpp - outdir: include/entt/core - - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/core/iterator.hpp - outdir: include/entt/core - - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/core/memory.hpp - outdir: include/entt/core - - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/core/algorithm.hpp - outdir: include/entt/core - - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/core/utility.hpp - outdir: include/entt/core - - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/core/any.hpp - outdir: include/entt/core - - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/core/type_info.hpp - outdir: include/entt/core - - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/core/attribute.h - outdir: include/entt/core - - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/core/hashed_string.hpp - outdir: include/entt/core - - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/core/enum.hpp - outdir: include/entt/core - - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/core/family.hpp - outdir: include/entt/core - - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/core/ident.hpp - outdir: include/entt/core - - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/core/monostate.hpp - outdir: include/entt/core - - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/core/tuple.hpp - outdir: include/entt/core - # xxhash - - fetch: https://raw.githubusercontent.com/Cyan4973/xxHash/v0.8.2/xxhash.h - outdir: include/ - - fetch: https://raw.githubusercontent.com/Cyan4973/xxHash/v0.8.2/xxhash.c - outdir: src/ - - # ecsact/entt/detail - - path: ./ecsact/entt/detail/execution_events_collector.hh - outdir: include/ecsact/entt/detail - - path: ./ecsact/entt/detail/apply_pending.hh - outdir: include/ecsact/entt/detail - - path: ./ecsact/entt/detail/globals.hh - outdir: include/ecsact/entt/detail - - path: ./ecsact/entt/detail/registry.hh - outdir: include/ecsact/entt/detail - - path: ./ecsact/entt/detail/internal_markers.hh - outdir: include/ecsact/entt/detail - - path: ./ecsact/entt/detail/system_execution_context.hh - outdir: include/ecsact/entt/detail/ - - path: ./ecsact/entt/detail/bytes.hh - outdir: include/ecsact/entt/detail - - path: ./ecsact/entt/detail/hash.hh - outdir: include/ecsact/entt/detail - # ecsact/entt/wrapper - - path: ./ecsact/entt/wrapper/core.hh - outdir: include/ecsact/entt/wrapper - - path: ./ecsact/entt/wrapper/dynamic.hh - outdir: include/ecsact/entt/wrapper - # ecsact/entt - - path: ./ecsact/entt/entity.hh - outdir: include/ecsact/entt - - path: ./ecsact/entt/error_check.hh - outdir: include/ecsact/entt - - path: ./ecsact/entt/event_markers.hh - outdir: include/ecsact/entt - - path: ./ecsact/entt/execution.hh - outdir: include/ecsact/entt - - path: ./ecsact/entt/registry_util.hh - outdir: include/ecsact/entt - - ./runtime/ecsact_rt_entt_core.cc - - ./runtime/ecsact_rt_entt_dynamic.cc - - ./runtime/hash.cc - -exports: - # core - - ecsact_execute_systems - - ecsact_destroy_registry - - ecsact_clear_registry - - ecsact_create_entity - - ecsact_ensure_entity - - ecsact_entity_exists - - ecsact_destroy_entity - - ecsact_count_entities - - ecsact_get_entities - - ecsact_add_component - - ecsact_has_component - - ecsact_get_component - - ecsact_count_components - - ecsact_each_component - - ecsact_get_components - - ecsact_update_component - - ecsact_remove_component - # dynamic - - ecsact_system_execution_context_same - - ecsact_system_execution_context_entity - - ecsact_system_execution_context_generate - - ecsact_system_execution_context_id - - ecsact_system_execution_context_other - - ecsact_system_execution_context_add - - ecsact_system_execution_context_remove - - ecsact_system_execution_context_get - - ecsact_system_execution_context_update - - ecsact_system_execution_context_has - - ecsact_system_execution_context_action diff --git a/test/BUILD.bazel b/test/BUILD.bazel index 96e769c..15c7c72 100644 --- a/test/BUILD.bazel +++ b/test/BUILD.bazel @@ -13,7 +13,7 @@ cc_test( "//:runtime_test.ecsact", "@ecsact_cli", "@ecsact_lang_cpp//cpp_header_codegen:ecsact_cpp_header_codegen", - "@ecsact_rt_entt//:build_recipe.yml", + "@ecsact_rt_entt", "@ecsact_rt_entt//:headers", "@ecsact_rt_entt//rt_entt_codegen:ecsact_rt_entt_codegen", "@ecsact_rt_entt//runtime:sources", @@ -23,7 +23,7 @@ cc_test( "//:runtime_test.ecsact", "@ecsact_cli", "@ecsact_lang_cpp//cpp_header_codegen:ecsact_cpp_header_codegen", - "@ecsact_rt_entt//:build_recipe.yml", + "@ecsact_rt_entt", "@ecsact_rt_entt//:headers", "@ecsact_rt_entt//rt_entt_codegen:ecsact_rt_entt_codegen", "@ecsact_rt_entt//runtime:sources", @@ -33,14 +33,14 @@ cc_test( env = select({ "@platforms//os:windows": { "ECSACT_CLI": "$(rootpath @ecsact_cli)", - "ECSACT_RECIPE_PATH": "$(rootpath @ecsact_rt_entt//:build_recipe.yml)", + "ECSACT_RECIPE_PATH": "$(rootpath @ecsact_rt_entt)", "ECSACT_RUNTIME_FILE_PATH": "$(rootpath //:runtime_test.ecsact)", "ECSACT_IMPORTED_FILE_PATH": "$(rootpath //:imported_pkg.ecsact)", "ECSACT_CODEGEN_PLUGIN_PATH": "$(rootpath @ecsact_rt_entt//rt_entt_codegen:ecsact_rt_entt_codegen)", }, "//conditions:default": { "ECSACT_CLI": "$(rootpath @ecsact_cli)", - "ECSACT_RECIPE_PATH": "$(rootpath @ecsact_rt_entt//:build_recipe.yml)", + "ECSACT_RECIPE_PATH": "$(rootpath @ecsact_rt_entt)", "ECSACT_RUNTIME_FILE_PATH": "$(rootpath //:runtime_test.ecsact)", "ECSACT_IMPORTED_FILE_PATH": "$(rootpath //:imported_pkg.ecsact)", "ECSACT_CODEGEN_PLUGIN_PATH": "$(rootpath @ecsact_rt_entt//rt_entt_codegen:ecsact_rt_entt_codegen)",