diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..33bde8ad15c721c3e779238cf38beb9419ee77b2 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -0,0 +1 @@ +add_subdirectory(hello) diff --git a/examples/hello/CMakeLists.txt b/examples/hello/CMakeLists.txt new file mode 100644 index 0000000000000000000000000000000000000000..de6811d5f2eda4d16f17411e02dbb874cc7d0d86 --- /dev/null +++ b/examples/hello/CMakeLists.txt @@ -0,0 +1,10 @@ +add_subdirectory(bpWriter) +add_subdirectory(timeBP) + +if(ADIOS_USE_ADIOS1) + add_subdirectory(adios1Writer) +endif() + +if(ADIOS_USE_DataMan) + add_subdirectory(dataman) +endif() diff --git a/examples/hello/bpWriter/CMakeLists.txt b/examples/hello/bpWriter/CMakeLists.txt new file mode 100644 index 0000000000000000000000000000000000000000..801a8a1cad77d7e0205c0a01cb208f8dd2da011d --- /dev/null +++ b/examples/hello/bpWriter/CMakeLists.txt @@ -0,0 +1,5 @@ +add_executable(hello_bpWriter helloBPWriter.cpp) +target_link_libraries(hello_bpWriter adios2) + +add_executable(hello_bpWriter_nompi helloBPWriter_nompi.cpp) +target_link_libraries(hello_bpWriter_nompi adios2) diff --git a/examples/hello/timeBP/CMakeLists.txt b/examples/hello/timeBP/CMakeLists.txt new file mode 100644 index 0000000000000000000000000000000000000000..db8991a5c479e1233df405a55b2e9c2e2befebe8 --- /dev/null +++ b/examples/hello/timeBP/CMakeLists.txt @@ -0,0 +1,5 @@ +add_executable(hello_timeBPWriter timeBPWriter.cpp) +target_link_libraries(hello_timeBPWriter adios2) + +add_executable(hello_timeBPWriter_nompi timeBPWriter_nompi.cpp) +target_link_libraries(hello_timeBPWriter_nompi adios2) diff --git a/scripts/travis/run-format.sh b/scripts/travis/run-format.sh index 7ba5997382c3a5f7c4cf33019211dde34b9f1f8f..51ba5e565e234f2af09a9ce1cecdbf1bf942801f 100755 --- a/scripts/travis/run-format.sh +++ b/scripts/travis/run-format.sh @@ -14,6 +14,7 @@ fi cd ${SOURCE_DIR} # Check C and C++ code with clang-format +echo "Checking formatting for commit range: ${COMMIT_RANGE}" DIFF="$(./scripts/developer/git/git-clang-format --diff ${COMMIT_RANGE})" if [ "${DIFF}" != "no modified files to format" ] then