init dep handling for xo-expression2 -> xo-procedure2

This commit is contained in:
Roland Conybeare 2026-01-26 16:05:37 -05:00
commit 8366dc62a1
3 changed files with 4 additions and 4 deletions

View file

@ -8,7 +8,7 @@ include(CMakeFindDependencyMacro)
#
find_dependency(xo_gc)
find_dependency(reflect)
find_dependency(xo_object2)
find_dependency(xo_procedure2)
find_dependency(xo_printable2)
find_dependency(xo_flatstring)
find_dependency(cmake)

View file

@ -44,7 +44,7 @@ xo_add_shared_library4(${SELF_LIB} ${PROJECT_NAME}Targets ${PROJECT_VERSION} 1 $
# note: deps here must also appear in cmake/xo_expression2Config.cmake.in
xo_dependency(${SELF_LIB} xo_gc)
xo_dependency(${SELF_LIB} reflect)
xo_dependency(${SELF_LIB} xo_object2)
xo_dependency(${SELF_LIB} xo_procedure2)
xo_dependency(${SELF_LIB} xo_printable2)
xo_dependency(${SELF_LIB} xo_flatstring)
xo_dependency(${SELF_LIB} subsys)

View file

@ -7,7 +7,7 @@
#include "expression2_register_facets.hpp"
#include "expression2_register_types.hpp"
#include <xo/object2/init_object2.hpp>
#include <xo/procedure2/init_procedure2.hpp>
#include <xo/gc/CollectorTypeRegistry.hpp>
namespace xo {
@ -29,7 +29,7 @@ namespace xo {
InitEvidence retval;
/* direct subsystem deps for xo-object2/ */
retval ^= InitSubsys<S_object2_tag>::require();
retval ^= InitSubsys<S_procedure2_tag>::require();
/* xo-expression2/'s own initialization code */
retval ^= Subsystem::provide<S_expression2_tag>("expression2", &init);