Merge branch 'main' into claude1
This commit is contained in:
commit
9a6bd7f6d8
3 changed files with 14 additions and 1 deletions
|
|
@ -35,13 +35,24 @@ xo_export_cmake_config(${PROJECT_NAME} ${PROJECT_VERSION} ${PROJECT_NAME}Targets
|
|||
|
||||
# ----------------------------------------------------------------
|
||||
|
||||
# Install the generator script
|
||||
# Install the generator script:
|
||||
install(
|
||||
PROGRAMS codegen/genfacet
|
||||
DESTINATION share/xo-facet/codegen
|
||||
COMPONENT codegen
|
||||
)
|
||||
|
||||
file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/genfacet-bin
|
||||
"#!/bin/bash
|
||||
exec \"${CMAKE_INSTALL_FULL_DATADIR}/xo-facet/codegen/genfacet\" \"\$@\"
|
||||
")
|
||||
|
||||
install(
|
||||
PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/genfacet-bin
|
||||
DESTINATION bin
|
||||
RENAME genfacet
|
||||
)
|
||||
|
||||
# Install all .j2 template files
|
||||
install(
|
||||
DIRECTORY codegen/
|
||||
|
|
|
|||
|
|
@ -5,4 +5,5 @@ include(CMakeFindDependencyMacro)
|
|||
find_dependency(xo_arena)
|
||||
find_dependency(xo_reflectutil)
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets.cmake")
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Share.cmake")
|
||||
check_required_components("@PROJECT_NAME@")
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
#include "{{impl_hpp_subdir}}/{{iface_facet_any_hpp_fname}}"
|
||||
#include <iostream>
|
||||
#include <exception>
|
||||
|
||||
namespace {{facet_ns1}} {
|
||||
namespace {{facet_ns2}} {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue