mirror of https://github.com/CGAL/cgal
Final modifications
This commit is contained in:
parent
7b23a8f8f1
commit
f4c049ba1e
|
|
@ -649,7 +649,7 @@ else
|
||||||
fi
|
fi
|
||||||
nice ${NICE_OPTIONS} make ${MAKE_OPTS} -k -fmakefile2;
|
nice ${NICE_OPTIONS} make ${MAKE_OPTS} -k -fmakefile2;
|
||||||
EOF
|
EOF
|
||||||
for file in "${CGAL_BINARY_DIR}/localtestscript" "${CGAL_BINARY_DIR}/localtestscript-redo-results-collection"; do
|
for file in "${CGAL_BINARY_DIR}/localtestscript" "${CGAL_BINARY_DIR}/localtestscript-redo-results-collection"; do
|
||||||
cat >> "$file" <<EOF
|
cat >> "$file" <<EOF
|
||||||
echo 'COLLECTING RESULTS';
|
echo 'COLLECTING RESULTS';
|
||||||
./collect_cgal_testresults_from_cmake;
|
./collect_cgal_testresults_from_cmake;
|
||||||
|
|
@ -670,18 +670,6 @@ EOF
|
||||||
cat >> "$file" <<EOF
|
cat >> "$file" <<EOF
|
||||||
tar czvf "${CGAL_TEST_DIR}/demos_${CGAL_TESTER}_${PLATFORM}.tar.gz" *_Demo_with_dlls/*
|
tar czvf "${CGAL_TEST_DIR}/demos_${CGAL_TESTER}_${PLATFORM}.tar.gz" *_Demo_with_dlls/*
|
||||||
fi
|
fi
|
||||||
echo 'COPYING RESULTS';
|
|
||||||
cp "results_${CGAL_TESTER}_${PLATFORM}.tar.gz" "results_${CGAL_TESTER}_${PLATFORM}.txt" "${CGAL_TEST_DIR}";
|
|
||||||
cd ..;
|
|
||||||
EOF
|
|
||||||
done
|
|
||||||
if [ -z "${KEEP_TESTS}" ]; then
|
|
||||||
cat >> "${CGAL_BINARY_DIR}/localtestscript" <<EOF
|
|
||||||
echo 'REMOVING LOCAL_TEST_DIR';
|
|
||||||
rm -rf '${CGAL_BINARY_DIR}/test'
|
|
||||||
EOF
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo 'COPYING RESULTS';
|
echo 'COPYING RESULTS';
|
||||||
cp 'results_${CGAL_TESTER}_${PLATFORM}.tar.gz' 'results_${CGAL_TESTER}_${PLATFORM}.txt' '${CGAL_TEST_DIR}';
|
cp 'results_${CGAL_TESTER}_${PLATFORM}.tar.gz' 'results_${CGAL_TESTER}_${PLATFORM}.txt' '${CGAL_TEST_DIR}';
|
||||||
cd ..;
|
cd ..;
|
||||||
|
|
|
||||||
|
|
@ -4,10 +4,10 @@
|
||||||
#Needs the Qt5_DIR env variable set to <Qt5_ROOT>/lib/cmake/Qt5
|
#Needs the Qt5_DIR env variable set to <Qt5_ROOT>/lib/cmake/Qt5
|
||||||
|
|
||||||
#No config : in autotest_cgal we use NMake as generator
|
#No config : in autotest_cgal we use NMake as generator
|
||||||
#If you are using Visual as Generator, declare config="Release"
|
#If using MSVC Generator, declare config="Release"
|
||||||
|
|
||||||
|
|
||||||
declare config="$PWD"
|
declare config=""
|
||||||
declare target_directory="$1"
|
declare target_directory="$1"
|
||||||
|
|
||||||
if [[ ! -d "$target_directory" ]]
|
if [[ ! -d "$target_directory" ]]
|
||||||
|
|
@ -23,9 +23,9 @@ copy_dll()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
files=($config/*.exe)
|
files=($PWD/$config/*.exe)
|
||||||
files+=($config/*.dll)
|
files+=($PWD/$config/*.dll)
|
||||||
files+=(Plugins/*/$config/*.dll)
|
files+=($PWD/Plugins/*/$config/*.dll)
|
||||||
|
|
||||||
for file in "${files[@]}"; do
|
for file in "${files[@]}"; do
|
||||||
|
|
||||||
|
|
@ -38,6 +38,6 @@ for file in "${files[@]}"; do
|
||||||
copy_dll "$dll" "$target_directory"
|
copy_dll "$dll" "$target_directory"
|
||||||
|
|
||||||
done; #check dependencies
|
done; #check dependencies
|
||||||
mkdir -p "$target_directory/platforms"
|
|
||||||
cp "$Qt5_DIR/../../../plugins/platforms/qwindows.dll" "$target_directory/platforms"
|
|
||||||
done #loop over directories
|
done #loop over directories
|
||||||
|
mkdir -p "$target_directory/platforms"
|
||||||
|
cp "$Qt5_DIR/../../../plugins/platforms/qwindows.dll" "$target_directory/platforms"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue