Skip to content
Snippets Groups Projects
Commit 30e6fdc2 authored by Atkins, Charles Vernon's avatar Atkins, Charles Vernon
Browse files

Make experimental examples option to build

parent 1d92ec11
No related branches found
No related tags found
2 merge requests!189Memory,!167Point examples to a default XML config
......@@ -111,7 +111,8 @@ add_subdirectory(bindings)
#------------------------------------------------------------------------------#
# Examples
#------------------------------------------------------------------------------#
option(ADIOS2_BUILD_EXAMPLES "Build ADIOS examples" ON)
option(ADIOS2_BUILD_EXAMPLES "Build examples" ON)
option(ADIOS2_BUILD_EXAMPLES_EXPERIMENTAL "Build experimental examples" OFF)
if(ADIOS2_BUILD_EXAMPLES)
add_subdirectory(examples)
endif()
......
......@@ -6,4 +6,7 @@
add_subdirectory(basics)
add_subdirectory(hello)
add_subdirectory(heatTransfer)
add_subdirectory(experimental)
if(ADIOS2_BUILD_EXAMPLES_EXPERIMENTAL)
add_subdirectory(experimental)
endif()
......@@ -6,3 +6,5 @@
if(ADIOS2_HAVE_ADIOS1)
add_subdirectory(multistep)
endif()
add_subdirectory(runtimeconfig)
add_subdirectory(hello)
if(ADIOS2_HAVE_MPI)
find_package(MPI COMPONENTS C REQUIRED)
add_executable(helloBPWriterXML helloBPWriterXML.cpp)
target_include_directories(helloBPWriterXML PRIVATE ${MPI_C_INCLUDE_PATH})
target_link_libraries(helloBPWriterXML ${MPI_C_LIBRARIES})
else()
add_executable(helloBPWriterXML helloBPWriterXML_nompi.cpp)
endif()
target_link_libraries(helloBPWriterXML adios2)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment