src/SierpinskyGUI/Makefile \
resources/Makefile \
resources/SIERPINSKYCatalog.xml \
+ resources/SalomeApp.xml \
idl/Makefile \
SIERPINSKY_version.h \
Makefile \
go.png \
graph1.xml \
graph2.xml \
- SalomeApp.xml
+ $(top_builddir)/resources/SalomeApp.xml
# VSR: little trick to avoid putting if SIERPINSKYCatalog.xml to the distribution archive
nodist_salomeres_SCRIPTS = SIERPINSKYCatalog.xml
+++ /dev/null
-<!--
- Copyright (C) 2005-2011 OPEN CASCADE
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-
--->
-<document>
- <section name="SIERPINSKY">
- <!-- Major module parameters -->
- <parameter name="name" value="Sierpinsky"/>
- <parameter name="icon" value="SIERPINSKY.png"/>
- </section>
- <section name="resources">
- <!-- Module resources -->
- <parameter name="SIERPINSKY" value="${SIERPINSKY_ROOT_DIR}/share/salome/resources/sierpinsky"/>
- </section>
-</document>
--- /dev/null
+<!--
+ Copyright (C) 2005-2011 OPEN CASCADE
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License.
+
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with this library; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+ See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+
+-->
+<document>
+ <section name="SIERPINSKY">
+ <!-- Major module parameters -->
+ <parameter name="name" value="Sierpinsky"/>
+ <parameter name="icon" value="SIERPINSKY.png"/>
+ <parameter name="SIERPINSKY_VERSION" value="@VERSION@"/>
+ </section>
+ <section name="resources">
+ <!-- Module resources -->
+ <parameter name="SIERPINSKY" value="${SIERPINSKY_ROOT_DIR}/share/salome/resources/sierpinsky"/>
+ </section>
+</document>
$(CORBA_CXXFLAGS) \
$(CORBA_INCLUDES) \
-I$(srcdir)/../Sierpinsky \
+ -I$(top_builddir) \
-I$(top_builddir)/idl
libSIERPINSKY_la_LDFLAGS = \
#include "SierpinskyGUI.h"
+#include <SIERPINSKY_version.h>
+
#include <SUIT_MessageBox.h>
#include <SUIT_ResourceMgr.h>
#include <SUIT_Desktop.h>
{
return new SierpinskyGUI();
}
+
+ char* getModuleVersion()
+ {
+ return SIERPINSKY_VERSION_STR;
+ }
}