diff --git a/cpp/build_all_examples.sh b/cpp/build_all_examples.sh index b7fb56ae2bc..4f25f5db2ec 100755 --- a/cpp/build_all_examples.sh +++ b/cpp/build_all_examples.sh @@ -3,8 +3,11 @@ CMAKE_FILES=$(ls example_code/*/CMakeLists.txt) +HELLO_CMAKE_FILES=$(ls example_code/*/hello_*/CMakeLists.txt) +CMAKE_FILES="$CMAKE_FILES $HELLO_CMAKE_FILES" + CMAKE_FILES=($CMAKE_FILES) -echo "CMAKE_FILES ${CMAKE_FILES}" +echo "CMAKE_FILES ${CMAKE_FILES[@]}" len=${#CMAKE_FILES[@]} echo "len ${len}"