xo-cmake: streamline facet gen
This commit is contained in:
parent
a903a058f1
commit
ca27454ce8
3 changed files with 9 additions and 8 deletions
|
|
@ -29,6 +29,7 @@ xo_add_genfacet(
|
||||||
|
|
||||||
xo_add_genfacetimpl(
|
xo_add_genfacetimpl(
|
||||||
TARGET xo-object2-facetimpl-sequence-list
|
TARGET xo-object2-facetimpl-sequence-list
|
||||||
|
FACET_PKG xo_object2
|
||||||
FACET Sequence
|
FACET Sequence
|
||||||
REPR List
|
REPR List
|
||||||
INPUT idl/ISequence_DList.json5
|
INPUT idl/ISequence_DList.json5
|
||||||
|
|
@ -37,12 +38,13 @@ xo_add_genfacetimpl(
|
||||||
OUTPUT_CPP_DIR src/object2
|
OUTPUT_CPP_DIR src/object2
|
||||||
)
|
)
|
||||||
|
|
||||||
get_target_property(xo_printable2_dir share_xo_printable2 path)
|
#get_target_property(xo_printable2_dir share_xo_printable2 path)
|
||||||
message(STATUS "xo_printable2_dir=${xo_printable2_dir}")
|
#message(STATUS "xo_printable2_dir=${xo_printable2_dir}")
|
||||||
|
|
||||||
xo_add_genfacetimpl(
|
xo_add_genfacetimpl(
|
||||||
TARGET xo-object2-facetimpl-printable-float
|
TARGET xo-object2-facetimpl-printable-float
|
||||||
FACET_DIR ${xo_printable2_dir}
|
FACET_PKG xo_printable2
|
||||||
|
# FACET_DIR ${xo_printable2_dir}
|
||||||
FACET Printable
|
FACET Printable
|
||||||
REPR Float
|
REPR Float
|
||||||
INPUT idl/IPrintable_DFloat.json5
|
INPUT idl/IPrintable_DFloat.json5
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
*
|
*
|
||||||
* Generated automagically from ingredients:
|
* Generated automagically from ingredients:
|
||||||
* 1. code generator:
|
* 1. code generator:
|
||||||
* [/Users/roland/proj/xo-umbrella2/xo-facet/codegen/genfacet]
|
* [/home/roland/proj/xo-umbrella2/xo-facet/codegen/genfacet]
|
||||||
* arguments:
|
* arguments:
|
||||||
* --input [idl/IPrintable_DFloat.json5]
|
* --input [idl/IPrintable_DFloat.json5]
|
||||||
* 2. jinja2 template for abstract facet .hpp file:
|
* 2. jinja2 template for abstract facet .hpp file:
|
||||||
|
|
@ -45,8 +45,7 @@ namespace xo {
|
||||||
/** @defgroup scm-printable-dfloat-methods **/
|
/** @defgroup scm-printable-dfloat-methods **/
|
||||||
///@{
|
///@{
|
||||||
/** Pretty-printing support for this object.
|
/** 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);
|
static bool pretty(const DFloat & self, const ppindentinfo & ppii);
|
||||||
|
|
||||||
///@}
|
///@}
|
||||||
|
|
@ -55,4 +54,4 @@ namespace xo {
|
||||||
} /*namespace scm*/
|
} /*namespace scm*/
|
||||||
} /*namespace xo*/
|
} /*namespace xo*/
|
||||||
|
|
||||||
/* end */
|
/* end */
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
*
|
*
|
||||||
* Generated automagically from ingredients:
|
* Generated automagically from ingredients:
|
||||||
* 1. code generator:
|
* 1. code generator:
|
||||||
* [/Users/roland/proj/xo-umbrella2/xo-facet/codegen/genfacet]
|
* [/home/roland/proj/xo-umbrella2/xo-facet/codegen/genfacet]
|
||||||
* arguments:
|
* arguments:
|
||||||
* --input [idl/IPrintable_DFloat.json5]
|
* --input [idl/IPrintable_DFloat.json5]
|
||||||
* 2. jinja2 template for abstract facet .hpp file:
|
* 2. jinja2 template for abstract facet .hpp file:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue