-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
38613e8
commit 8f5e636
Showing
2 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -109,3 +109,5 @@ if(NOT WIN32) | |
endif() | ||
endif() | ||
endif() | ||
|
||
add_install_cmake_test(plugin) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#------------------------------------------------------------------------------# | ||
# Distributed under the OSI-approved Apache License, Version 2.0. See | ||
# accompanying file Copyright.txt for details. | ||
#------------------------------------------------------------------------------# | ||
|
||
cmake_minimum_required(VERSION 3.6) | ||
project(adios_plugin_test CXX) | ||
enable_testing() | ||
|
||
find_package(adios2 REQUIRED) | ||
|
||
# add write test | ||
add_executable(adios_plugin_write_test | ||
../../../examples/plugins/engine/examplePluginEngine_write.cpp | ||
../../../examples/plugins/engine/ExampleWritePlugin.cpp | ||
) | ||
target_link_libraries(adios_plugin_write_test adios2::cxx11 adios2::core) | ||
add_test(NAME adios_plugin_write_test COMMAND adios_plugin_write_test) | ||
|
||
# add read test | ||
add_executable(adios_plugin_read_test | ||
../../../examples/plugins/engine/examplePluginEngine_read.cpp | ||
../../../examples/plugins/engine/ExampleReadPlugin.cpp | ||
) | ||
target_link_libraries(adios_plugin_read_test adios2::cxx11 adios2::core) | ||
add_test(NAME adios_plugin_read_test COMMAND adios_plugin_read_test) | ||
set_tests_properties(adios_plugin_read_test PROPERTIES | ||
DEPENDS adios_plugin_write_test) |