Problem occurs because HEXABLOCK module contains HEXABLOCKEngine library and HEXABLOCKPLUGIN module contains HexaBlockPluginEngine. But on windows HexaBlockEngine equal to the HEXABLOCKEngine.
SET(SALOME_INSTALL_DOC "${SALOME_INSTALL_DOC}" CACHE PATH "Install path: SALOME documentation")
# Specific to HEXABLOCKPLUGIN:
-SET(SALOME_HEXABLOCKPLUGIN_INSTALL_RES_DATA "${SALOME_INSTALL_RES}/HEXABLOCKplugin" CACHE PATH
+SET(SALOME_HEXABLOCKPLUGIN_INSTALL_RES_DATA "${SALOME_INSTALL_RES}/hexablockplugin" CACHE PATH
"Install path: SALOME HEXABLOCKPLUGIN specific data")
MARK_AS_ADVANCED(SALOME_INSTALL_BINS SALOME_INSTALL_LIBS SALOME_INSTALL_IDLS SALOME_INSTALL_HEADERS)
# List of targets in this project we want to make visible to the rest of the world.
# They all have to be INSTALL'd with the option "EXPORT ${PROJECT_NAME}TargetGroup"
SET(_${PROJECT_NAME}_exposed_targets
- HexaBlockEngine SalomeIDLHEXABLOCKPLUGIN
+ HexaBlockPluginEngine SalomeIDLHEXABLOCKPLUGIN
)
IF(SALOME_BUILD_GUI)
# Load the dependencies for the libraries of @PROJECT_NAME@
# (contains definitions for IMPORTED targets). This is only
# imported if we are not built as a subproject (in this case targets are already there)
-IF(NOT TARGET HexaBlockEngine AND NOT @PROJECT_NAME@_BINARY_DIR)
+IF(NOT TARGET HexaBlockPluginEngine AND NOT @PROJECT_NAME@_BINARY_DIR)
INCLUDE("@PACKAGE_SALOME_INSTALL_CMAKE_LOCAL@/@PROJECT_NAME@Targets.cmake")
ENDIF()
ENDIF()
# Include HEXABLOCK targets if they were not already loaded:
-IF(NOT (TARGET HEXABLOCKEngine))
+IF(NOT (TARGET HexaBlockPluginEngine))
INCLUDE("${HEXABLOCK_ROOT_DIR_EXP}/${SALOME_INSTALL_CMAKE}/SalomeHEXABLOCKTargets.cmake")
ENDIF()
# Exposed HEXABLOCKPLUGIN targets:
-SET(HEXABLOCKPLUGIN_HexaBlockEngine HexaBlockEngine)
+SET(HEXABLOCKPLUGIN_HexaBlockPluginEngine HexaBlockPluginEngine)
SET(HEXABLOCKPLUGIN_HEXABLOCKPluginGUI HEXABLOCKPluginGUI)
SET(HEXABLOCKPLUGIN_SalomeIDLHEXABLOCKPLUGIN SalomeIDLHEXABLOCKPLUGIN)
\ No newline at end of file
else
# search Salome binaries in PATH variable
- AC_PATH_PROG(TEMP, libHexaBlockEngine.so)
+ AC_PATH_PROG(TEMP, libHexaBlockPluginEngine.so)
if test "x$TEMP" != "x" ; then
HEXABLOCKPLUGIN_DIR=`dirname $TEMP`
fi
fi
-if test -f ${HEXABLOCKPLUGIN_DIR}/lib/salome/libHexaBlockEngine.so ; then
+if test -f ${HEXABLOCKPLUGIN_DIR}/lib/salome/libHexaBlockPluginEngine.so ; then
HEXABLOCKPLUGIN_ok=yes
AC_MSG_RESULT(Using HEXABLOCKPLUGIN module distribution in ${HEXABLOCKPLUGIN_DIR})
<meshers-group name="HEXABLOCK"
resources="HEXABLOCKPlugin"
idl-module="HEXABLOCKPlugin"
- server-lib="HEXABLOCKEngine"
+ server-lib="HexaBlockPluginEngine"
gui-lib="HEXABLOCKPluginGUI">
<hypotheses>
# --- headers ---
# header files
-SET(HexaBlockEngine_HEADERS
+SET(HexaBlockPluginEngine_HEADERS
HEXABLOCKPlugin_Defs.hxx
HEXABLOCKPlugin_HEXABLOCK.hxx
HEXABLOCKPlugin_HEXABLOCK_i.hxx
# --- sources ---
# sources / static
-SET(HexaBlockEngine_SOURCES
+SET(HexaBlockPluginEngine_SOURCES
HEXABLOCKPlugin_HEXABLOCK.cxx
HEXABLOCKPlugin_HEXABLOCK_i.cxx
HEXABLOCKPlugin_i.cxx
# --- rules ---
-ADD_LIBRARY(HexaBlockEngine ${HexaBlockEngine_SOURCES})
-TARGET_LINK_LIBRARIES(HexaBlockEngine ${_link_LIBRARIES} )
-INSTALL(TARGETS HexaBlockEngine EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
+ADD_LIBRARY(HexaBlockPluginEngine ${HexaBlockPluginEngine_SOURCES})
+TARGET_LINK_LIBRARIES(HexaBlockPluginEngine ${_link_LIBRARIES} )
+INSTALL(TARGETS HexaBlockPluginEngine EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
-INSTALL(FILES ${HexaBlockEngine_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS})
+INSTALL(FILES ${HexaBlockPluginEngine_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS})
#define _HEXABLOCKPlugin_DEFS_HXX_
#ifdef WIN32
- #if defined HEXABLOCKENGINE_EXPORTS || defined HexaBlockEngine_EXPORTS
+ #if defined HEXABLOCKENGINE_EXPORTS || defined HexaBlockPluginEngine_EXPORTS
#define HEXABLOCKPLUGINENGINE_EXPORT __declspec( dllexport )
#else
#define HEXABLOCKPLUGINENGINE_EXPORT __declspec( dllimport )