#------------------------------------------------------------------------------# # Distributed under the OSI-approved Apache License, Version 2.0. See # accompanying file Copyright.txt for details. #------------------------------------------------------------------------------# if(ADIOS2_HAVE_MPI) set(maybe_adios2_core_mpi adios2_core_mpi) else() set(maybe_adios2_core_mpi) endif() # stt_conn_tool add_executable(sst_conn_tool sst_conn_tool.c sst_conn_tool.cxx) target_link_libraries(sst_conn_tool ${maybe_adios2_core_mpi} adios2_core) set_property(TARGET sst_conn_tool PROPERTY OUTPUT_NAME sst_conn_tool${ADIOS2_EXECUTABLE_SUFFIX}) if(WIN32) target_link_libraries(sst_conn_tool getopt) endif() target_link_libraries(sst_conn_tool sst adios2::thirdparty::EVPath) target_include_directories(sst_conn_tool PRIVATE .. ../cp ) install(TARGETS sst_conn_tool EXPORT adios2 RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT adios2_tools-runtime ${ADIOS2_MAYBE_EXCLUDE_FROM_ALL} )