+ xo-printable2 + build fixes for cmake config
This commit is contained in:
parent
103ffb8a17
commit
a2e75071cc
5 changed files with 29 additions and 5 deletions
|
|
@ -37,12 +37,26 @@ xo_add_genfacetimpl(
|
|||
OUTPUT_CPP_DIR src/object2
|
||||
)
|
||||
|
||||
get_target_property(xo_printable2_src_dir xo-printable2 xo_srcdir)
|
||||
message(STATUS "xo_printable2_src_dir=${xo_printable_src_dir}")
|
||||
|
||||
xo_add_genfacetimpl(
|
||||
TARGET xo-object2-facetimpl-printable-float
|
||||
FACET Printable
|
||||
REPR Float
|
||||
INPUT idl/IPrintable_DFloat.json5
|
||||
OUTPUT_HPP_DIR include/xo/object2
|
||||
OUTPUT_IMPL_SUBDIR .
|
||||
OUTPUT_CPP_DIR src/object2
|
||||
)
|
||||
|
||||
# ----------------------------------------------------------------
|
||||
|
||||
# must complete definition of expression lib before configuring examples
|
||||
add_subdirectory(src/object2)
|
||||
add_subdirectory(utest)
|
||||
#xo_export_cmake_config(${PROJECT_NAME} ${PROJECT_VERSION} ${PROJECT_NAME}Targets)
|
||||
|
||||
xo_export_cmake_config(${PROJECT_NAME} ${PROJECT_VERSION} ${PROJECT_NAME}Targets)
|
||||
|
||||
# ----------------------------------------------------------------
|
||||
# docs targets depend on other library/utest/exec targets above,
|
||||
|
|
|
|||
11
idl/IPrintable_DFloat.json5
Normal file
11
idl/IPrintable_DFloat.json5
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
mode: "implementation",
|
||||
includes: [],
|
||||
namespace1: "xo",
|
||||
namespace2: "print",
|
||||
facet_idl: "idl/Printable.json5",
|
||||
brief: "provide APrintable interface for DFloat",
|
||||
using_doxygen: true,
|
||||
repr: "DFloat",
|
||||
doc: [ "doc for something or other" ],
|
||||
}
|
||||
|
|
@ -66,7 +66,7 @@ namespace scm {
|
|||
///@}
|
||||
|
||||
private:
|
||||
/** @defgraoup scm-sequence-any-private-methods **/
|
||||
/** @defgroup scm-sequence-any-private-methods **/
|
||||
///@{
|
||||
|
||||
[[noreturn]] static void _fatal();
|
||||
|
|
@ -74,7 +74,7 @@ namespace scm {
|
|||
///@}
|
||||
|
||||
public:
|
||||
/** @defgraoup scm-sequence-any-member-vars **/
|
||||
/** @defgroup scm-sequence-any-member-vars **/
|
||||
///@{
|
||||
|
||||
static typeseq s_typeseq;
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ namespace scm {
|
|||
using I = Impl;
|
||||
|
||||
public:
|
||||
/** @defgraoup scm-sequence-xfer-member-vars **/
|
||||
/** @defgroup scm-sequence-xfer-member-vars **/
|
||||
///@{
|
||||
|
||||
/** typeseq for template parameter DRepr **/
|
||||
|
|
|
|||
|
|
@ -16,4 +16,3 @@ xo_add_shared_library4(${SELF_LIB} ${PROJECT_NAME}Targets ${PROJECT_VERSION} 1 $
|
|||
# note: deps here must also appear in cmake/xo_alloc2Config.cmake.in
|
||||
xo_dependency(${SELF_LIB} xo_gc)
|
||||
#xo_dependency(${SELF_LIB} indentlog)
|
||||
#add_dependencies(${SELF_LIB} xo-object2-facetimpl-sequence-list)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue