Commit 46a7aaca authored by gejun's avatar gejun

Revert tools/make_all_examples to use make instead of cmake

parent cdac8d1f
saved_pwd_before_making=$PWD
for file in `find tools example -name CMakeFiles -type d -prune -o -name CMakeLists.txt -print`; do
for file in `find tools example -name Makefile`; do
cd $(dirname $file)
echo
echo "[$file]"
if ! ( rm -rf build && mkdir build && cd build && cmake .. && make -sj4 ); then
if ! make -sj4; then
exit 1
fi
cd $saved_pwd_before_making
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment