ADD_SUBDIRECTORY(appliskel)
-CONFIGURE_FILE(VERSION.in VERSION @ONLY)
-
-INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/VERSION DESTINATION ${SALOME_INSTALL_BINS})
+SALOME_CONFIGURE_FILE(VERSION.in VERSION INSTALL ${SALOME_INSTALL_BINS})
# ===============================================================
# Files to be installed
${CMAKE_CURRENT_BINARY_DIR}
)
-CONFIGURE_FILE(Calcium_Ports.idl.in Calcium_Ports.idl @ONLY)
+SALOME_CONFIGURE_FILE(Calcium_Ports.idl.in Calcium_Ports.idl)
SET(SalomeIDLKernel_IDLSOURCES
SALOME_Exception.idl
# These files are data, module or lib files
INSTALL(FILES CatalogModulePersonnel.xml_skel DESTINATION ${SALOME_KERNEL_INSTALL_RES_DATA})
-CONFIGURE_FILE(CatalogResources.xml.in CatalogResources.xml @ONLY)
-INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/CatalogResources.xml DESTINATION ${SALOME_KERNEL_INSTALL_RES_DATA})
+SALOME_CONFIGURE_FILE(CatalogResources.xml.in CatalogResources.xml INSTALL ${SALOME_KERNEL_INSTALL_RES_DATA})
IF(NOT SALOME_LAUNCHER_ONLY)
INSTALL(FILES channel.cfg SALOMEDS_Resources DESTINATION ${SALOME_KERNEL_INSTALL_RES_DATA})
-
- CONFIGURE_FILE(KERNELCatalog.xml.in KERNELCatalog.xml @ONLY)
- INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/KERNELCatalog.xml DESTINATION ${SALOME_KERNEL_INSTALL_RES_DATA})
-
+ SALOME_CONFIGURE_FILE(KERNELCatalog.xml.in KERNELCatalog.xml INSTALL ${SALOME_KERNEL_INSTALL_RES_DATA})
ENDIF()