File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -49,10 +49,13 @@ FUNCTION(BUILD_A_SCHEMA SCHEMA_FILE)
4949 set ( SCHEMA_OUTPUT_DIR ${CMAKE_CURRENT_BINARY_DIR} /${SCHEMA_SHORT_NAME} )
5050
5151 #the names of the files that will be generated
52- set ( FEDEX_OUT ${SCHEMA_OUTPUT_DIR} /compstructs.cc ${SCHEMA_OUTPUT_DIR} /Sdaiclasses.h
53- ${SCHEMA_OUTPUT_DIR} /schema.cc ${SCHEMA_OUTPUT_DIR} /Sdai${SCHEMA_LONG_NAME} .cc
54- ${SCHEMA_OUTPUT_DIR} /schema.h ${SCHEMA_OUTPUT_DIR} /Sdai${SCHEMA_LONG_NAME} .h
55- ${SCHEMA_OUTPUT_DIR} /SdaiAll.cc ${SCHEMA_OUTPUT_DIR} /Sdai${SCHEMA_LONG_NAME} .init.cc )
52+ set ( FEDEX_HEADERS ${SCHEMA_OUTPUT_DIR} /Sdaiclasses.h ${SCHEMA_OUTPUT_DIR} /schema.h
53+ ${SCHEMA_OUTPUT_DIR} /Sdai${SCHEMA_LONG_NAME} .h )
54+ set ( FEDEX_OUT ${SCHEMA_OUTPUT_DIR} /compstructs.cc ${SCHEMA_OUTPUT_DIR} /schema.cc
55+ ${SCHEMA_OUTPUT_DIR} /Sdai${SCHEMA_LONG_NAME} .cc ${SCHEMA_OUTPUT_DIR} /SdaiAll.cc
56+ ${SCHEMA_OUTPUT_DIR} /Sdai${SCHEMA_LONG_NAME} .init.cc ${FEDEX_HEADERS} )
57+
58+ install ( FILES ${FEDEX_HEADERS} DESTINATION ${SCHEMA_SHORT_NAME} )
5659
5760 # *cannot* use include_directories() because the includes keep piling up - if building
5861 # multiple schemas, each one will use the include dirs from all previous schemas. Since
You can’t perform that action at this time.
0 commit comments