Paradiseo-eo sources added
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@40 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
bc1f453978
commit
c3aec878e5
3609 changed files with 342772 additions and 0 deletions
37
trunk/paradiseo-eo/win/create_dsp.sh
Executable file
37
trunk/paradiseo-eo/win/create_dsp.sh
Executable file
|
|
@ -0,0 +1,37 @@
|
|||
#! /bin/tcsh -f
|
||||
|
||||
if ($#argv < 2) then
|
||||
echo Usage $0 SourceName TargetName
|
||||
echo Example: $0 t-eoGA t_eoga ga
|
||||
echo " will create t_eoga.dsp that in turn is the Win project file"
|
||||
echo " that will create the executable t_eoga using source"
|
||||
echo " t-eoga.cpp in test dir"
|
||||
exit
|
||||
endif
|
||||
echo "Creating $2.dsp"
|
||||
echo s/DIRNAME/$2/g > toto.sed
|
||||
echo s/SOURCENAME/$1/g >> toto.sed
|
||||
|
||||
sed -f toto.sed test_dsp.tmpl > $2.dsp
|
||||
/bin/rm toto.sed
|
||||
|
||||
echo "Adding $2.dsp in the main eo.dsw project file"
|
||||
|
||||
echo "" >> eo.dsw
|
||||
echo Project: \"$2\"=.\\\\$2.dsp - Package Owner=\<4\> >> eo.dsw
|
||||
echo "" >> eo.dsw
|
||||
echo Package=\<5\> >> eo.dsw
|
||||
echo '{{{' >> eo.dsw
|
||||
echo '}}}' >> eo.dsw
|
||||
echo "" >> eo.dsw
|
||||
echo Package=\<4\> >> eo.dsw
|
||||
echo '{{{' >> eo.dsw
|
||||
echo '}}}' >> eo.dsw
|
||||
echo "" >> eo.dsw
|
||||
echo '###############################################################################' >> eo.dsw
|
||||
|
||||
echo "AND DON'T FORGET to add the 3 lines in eo.dsw"
|
||||
echo " (too lazy to do it automatically)"
|
||||
echo " Begin Project Dependency"
|
||||
echo " " Project_Dep_Name $2
|
||||
echo " End Project Dependency"
|
||||
Loading…
Add table
Add a link
Reference in a new issue