--- /dev/null
+#/bin/bash
+# build all examples
+
+cur_dir=`pwd`
+
+script_dir=`dirname $0`
+
+# activate stop on error
+set -e
+
+cd $script_dir
+
+list_dirs="calcium1 calcium2 cpp1 cpp2 cppgui1 fort1 fort2 pydoc1 pygui1 pyth1 pyth2 types1 hxx1"
+for dir in $list_dirs ; do
+ cd $dir
+ echo Building $dir ... "(see build.log & build.err)"
+ ./build.sh > build.log 2> build.err
+ cd ..
+done
+
+echo Build finished!
$(FC) -c code1.f -fPIC -I$(KERNEL_ROOT_DIR)/include/salome -fexceptions
clean:
- rm -rf *.o *.so install install.bak traceExec_proc appli appli.bak pycompos_SRC pycompos_SRC.bak pycompos_build pycompos_build.bak
+ rm -rf *.o *.so install traceExec_proc appli *.bak pycompos_* build.err build.log
--- /dev/null
+source ../exec.sh
+make
+python components.py
$(FC) -c code1.f -fPIC -I$(KERNEL_ROOT_DIR)/include/salome -fexceptions
clean:
- rm -rf *.o *.so install install.bak traceExec_proc appli appli.bak pycompos_SRC pycompos_SRC.bak pycompos_build pycompos_build.bak
+ rm -rf *.o *.so install traceExec_proc appli *.bak pycompos_* build.err build.log
--- /dev/null
+source ../exec.sh
+make
+python components.py
--- /dev/null
+#/bin/bash
+script_dir=`dirname $0`
+cd $script_dir
+
+list_dirs="calcium1 calcium2 cpp1 cpp2 cppgui1 fort1 fort2 pydoc1 pygui1 pyth1 pyth2 types1 hxx1"
+
+for dir in $list_dirs ; do
+ cd $dir
+ make clean
+ cd ..
+done
#
clean:
- rm -rf *.o *.so cppcompos_SRC cppcompos_SRC.bak appli appli.bak install install.bak traceExec_proc cppcompos_build.bak cppcompos_build
+ rm -rf *.o *.so appli install *.bak traceExec_proc cppcompos_* build.err build.log
--- /dev/null
+../exec.sh python components.py
prog:prog.cxx
g++ -o prog prog.cxx -L./install/lib/salome -lcompo1Exelib -lSalomeIDLcppcompos
clean:
- rm -rf *.o prog install install.bak appli appli.bak cppcompos_SRC cppcompos_SRC.bak compo1_inst_1 traceExec_proc cppcompos_build cppcompos_build.bak
+ rm -rf *.o prog install appli *.bak compo1_inst_1 traceExec_proc cppcompos_* build.err build.log
--- /dev/null
+source ../exec.sh
+python components.py
+make
+
#
clean:
- rm -rf *.o *.so cppcompos_SRC cppcompos_SRC.bak appli appli.bak install install.bak traceExec_proc cppcompos_build.bak cppcompos_build
+ rm -rf *.o *.so cppcompos_* appli install *.bak traceExec_proc build.err build.log
--- /dev/null
+../exec.sh python components.py
$(FC) -c bidul.f -fPIC -I$(KERNEL_ROOT_DIR)/include/salome -fexceptions
clean:
- rm -rf *.o *.so fcompos_SRC install fcompos_SRC.bak traceExec_proc appli appli.bak install.bak fcompos_build fcompos_build.bak
+ rm -rf *.o *.so fcompos_* install appli traceExec_proc *.bak build.err build.log
--- /dev/null
+source ../exec.sh
+make
+python components.py
$(FC) -c code2.f -I$(KERNEL_ROOT_DIR)/include/salome -fexceptions
clean:
- rm -rf *.o prog1 prog2 fcode1_inst_1 fcode2_inst_1 fcompos_SRC install traceExec_proc install.bak fcompos_SRC.bak appli appli.bak fcompos_build.bak fcompos_build
+ rm -rf *.o prog1 prog2 fcode1_inst_1 fcode2_inst_1 fcompos_* install traceExec_proc *.bak appli build.err build.log
--- /dev/null
+source ../exec.sh
+python components.py
+make
#
clean:
- rm -rf parse_* appli install hxxcompos_* COMPONENTCPP_*
+ rm -rf parse_* appli install hxxcompos_* COMPONENTCPP_* *.bak build.err build.log
#
clean:
- rm -rf *.pyc pycompos_* appli appli.bak install install.bak traceExec_proc
+ rm -rf *.pyc pycompos_* appli install *.bak traceExec_proc build.err build.log
--- /dev/null
+../exec.sh python components.py
#
clean:
- rm -rf *.pyc pycompos_SRC pycompos_SRC.bak appli appli.bak install install.bak traceExec_proc pycompos_build.bak pycompos_build
+ rm -rf *.pyc pycompos_* appli install *.bak traceExec_proc build.err build.log
--- /dev/null
+../exec.sh python components.py
#
clean:
- rm -rf *.o *.so *.pyc pycompos_SRC pycompos_SRC.bak appli appli.bak install install.bak traceExec_proc pycompos_build.bak pycompos_build
+ rm -rf *.o *.so *.pyc pycompos_* appli install *.bak traceExec_proc build.err build.log
--- /dev/null
+../exec.sh python components.py
#
clean:
- rm -rf *.o *.so *.pyc pycompos_SRC pycompos_SRC.bak appli appli.bak install install.bak traceExec_proc compo2_inst_1 pycompos_build.bak pycompos_build
+ rm -rf *.o *.so *.pyc pycompos_* appli install *.bak traceExec_proc compo2_inst_1 build.err build.log
--- /dev/null
+../exec.sh python components.py
#
clean:
- rm -rf *.o *.so *.bak mymodule_SRC mymodule_build appli install traceExec_*
+ rm -rf *.o *.so *.bak mymodule_* appli install *.bak traceExec_* build.err build.log
--- /dev/null
+../exec.sh python components.py