xo-cmake: streamline facet gen

This commit is contained in:
Roland Conybeare 2026-01-05 12:09:42 -05:00
commit ca27454ce8
3 changed files with 9 additions and 8 deletions

View file

@ -29,6 +29,7 @@ xo_add_genfacet(
xo_add_genfacetimpl(
TARGET xo-object2-facetimpl-sequence-list
FACET_PKG xo_object2
FACET Sequence
REPR List
INPUT idl/ISequence_DList.json5
@ -37,12 +38,13 @@ xo_add_genfacetimpl(
OUTPUT_CPP_DIR src/object2
)
get_target_property(xo_printable2_dir share_xo_printable2 path)
message(STATUS "xo_printable2_dir=${xo_printable2_dir}")
#get_target_property(xo_printable2_dir share_xo_printable2 path)
#message(STATUS "xo_printable2_dir=${xo_printable2_dir}")
xo_add_genfacetimpl(
TARGET xo-object2-facetimpl-printable-float
FACET_DIR ${xo_printable2_dir}
FACET_PKG xo_printable2
# FACET_DIR ${xo_printable2_dir}
FACET Printable
REPR Float
INPUT idl/IPrintable_DFloat.json5

View file

@ -2,7 +2,7 @@
*
* Generated automagically from ingredients:
* 1. code generator:
* [/Users/roland/proj/xo-umbrella2/xo-facet/codegen/genfacet]
* [/home/roland/proj/xo-umbrella2/xo-facet/codegen/genfacet]
* arguments:
* --input [idl/IPrintable_DFloat.json5]
* 2. jinja2 template for abstract facet .hpp file:
@ -45,8 +45,7 @@ namespace xo {
/** @defgroup scm-printable-dfloat-methods **/
///@{
/** Pretty-printing support for this object.
See [xo-indentlog/xo/indentlog/pretty.hpp]
**/
See [xo-indentlog/xo/indentlog/pretty.hpp] **/
static bool pretty(const DFloat & self, const ppindentinfo & ppii);
///@}
@ -55,4 +54,4 @@ namespace xo {
} /*namespace scm*/
} /*namespace xo*/
/* end */
/* end */

View file

@ -2,7 +2,7 @@
*
* Generated automagically from ingredients:
* 1. code generator:
* [/Users/roland/proj/xo-umbrella2/xo-facet/codegen/genfacet]
* [/home/roland/proj/xo-umbrella2/xo-facet/codegen/genfacet]
* arguments:
* --input [idl/IPrintable_DFloat.json5]
* 2. jinja2 template for abstract facet .hpp file: