Skip to content

Commit

Permalink
Fix example ordering for test dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Chuck Atkins committed Sep 20, 2019
1 parent 0572cc3 commit cf91091
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 13 deletions.
20 changes: 10 additions & 10 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,15 @@ add_subdirectory(source)
#------------------------------------------------------------------------------#
add_subdirectory(bindings)

#------------------------------------------------------------------------------#
# Examples
#------------------------------------------------------------------------------#
option(ADIOS2_BUILD_EXAMPLES "Build examples" ON)
option(ADIOS2_BUILD_EXAMPLES_EXPERIMENTAL "Build experimental examples" OFF)
if(ADIOS2_BUILD_EXAMPLES)
add_subdirectory(examples)
endif()

#------------------------------------------------------------------------------#
# Testing
#------------------------------------------------------------------------------#
Expand All @@ -219,15 +228,6 @@ if(BUILD_TESTING)
add_subdirectory(testing)
endif()

#------------------------------------------------------------------------------#
# Examples
#------------------------------------------------------------------------------#
option(ADIOS2_BUILD_EXAMPLES "Build examples" ON)
option(ADIOS2_BUILD_EXAMPLES_EXPERIMENTAL "Build experimental examples" OFF)
if(ADIOS2_BUILD_EXAMPLES)
add_subdirectory(examples)
endif()

#------------------------------------------------------------------------------#
# Generating package configs
#------------------------------------------------------------------------------#
Expand Down Expand Up @@ -280,6 +280,7 @@ endif()
message(" Library Type: ${msg_lib_type}")
message(" Build Type: ${CMAKE_BUILD_TYPE}")
message(" Testing: ${BUILD_TESTING}")
message(" Examples: ${ADIOS2_BUILD_EXAMPLES}")
message(" Build Options:")

foreach(opt IN LISTS ADIOS2_CONFIG_OPTS)
Expand All @@ -295,4 +296,3 @@ message(" RDMA Transport for Staging: Available")
else()
message(" RDMA Transport for Staging: Unconfigured")
endif()
message("")
4 changes: 1 addition & 3 deletions examples/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ add_subdirectory(query)
add_subdirectory(useCases)

if(ADIOS2_HAVE_MPI)
#if(MPIEXEC_MAX_NUMPROCS GREATER 3)
add_subdirectory(heatTransfer)
#endif()
add_subdirectory(heatTransfer)
endif()

if(ADIOS2_BUILD_EXAMPLES_EXPERIMENTAL)
Expand Down

0 comments on commit cf91091

Please sign in to comment.