of_cmake_config/install

16 lines
326 B
Plaintext
Raw Normal View History

2022-04-11 06:44:18 +00:00
#!/bin/bash
objDir=$WM_PROJECT_DIR/wmake
if [ -d $objDir ]
then
cwd=`pwd`
chmod +x ./ofCmakeConfig
2022-08-30 07:11:04 +00:00
chmod +x ./occ
2022-08-28 16:10:53 +00:00
rm -f $objDir/ofCmakeConfig $objDir/occ
2022-04-11 06:44:18 +00:00
ln -s $cwd/ofCmakeConfig $objDir/
2022-08-28 16:10:53 +00:00
ln -s $cwd/occ $objDir/
2022-04-11 06:44:18 +00:00
echo "installed ofCmakeConfig"
else
echo "please active OpenFOAM environment"
2022-08-30 07:11:04 +00:00
fi