Skip to content

Commit

Permalink
Merge pull request #32 from SalomePlatform/22-ci-job-for-testing-mmgp…
Browse files Browse the repository at this point in the history
…lugin-on-github

22 ci job for testing mmgplugin on GitHub
  • Loading branch information
mohd-afeef-badri authored Jun 26, 2024
2 parents fea0eae + adb7b5b commit 505c255
Show file tree
Hide file tree
Showing 29 changed files with 38,908 additions and 167,293 deletions.
6 changes: 5 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,19 @@ PYQT_WRAP_UIC(_pyuic_SCRIPTS ${_pyuic_FILES} TARGET_NAME _target_name_pyuic)

# --- rules ---
SET(MMG_INSTALL_PLUGIN "plugins/mmgplugin")
SET(MMG_INSTALL_TESTS ".")
SET(MMG_INSTALL_MISC "misc")
SET(MMG_INSTALL_DOC "doc")
SALOME_INSTALL_SCRIPTS("${_plugin_SCRIPTS}" "${MMG_INSTALL_PLUGIN}")
SALOME_INSTALL_SCRIPTS("${_pyuic_SCRIPTS}" "${MMG_INSTALL_PLUGIN}" TARGET_NAME _target_name_pyuic_py)
# add dependency of compiled py files on uic files in order
# to avoid races problems when compiling in parallel
ADD_DEPENDENCIES(${_target_name_pyuic_py} ${_target_name_pyuic})
# Install the CMake configuration files:
# Install the files:
INSTALL(FILES "${PROJECT_SOURCE_DIR}/README.md" DESTINATION "${MMG_INSTALL_DOC}" )
SALOME_CONFIGURE_FILE(__init__.py __init__.py INSTALL "${MMG_INSTALL_PLUGIN}")
# Install the folders:
INSTALL(DIRECTORY "./tests" DESTINATION "${MMG_INSTALL_TESTS}")
# check whether the plugin is already registered to SMESH plugins.
# sadly this is not available as a macro from the SMESH installation
SET(SALOME_SMESH_INSTALL_PLUGINS share/salome/plugins/smesh CACHE PATH
Expand Down
2 changes: 1 addition & 1 deletion misc/mesh_data/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ MESH_FILES := $(PY_FILES:.py=.mesh)

all:
mkdir -p archive_meshes
./../../../../../../salome shell -l -script MakeMesh.py
./../../../../salome shell -l -script MakeMesh.py

clean:
rm $(MESH_FILES)
Expand Down
167,027 changes: 0 additions & 167,027 deletions misc/mesh_data/archive_meshes/mesh.mesh

This file was deleted.

Loading

0 comments on commit 505c255

Please sign in to comment.