-
Notifications
You must be signed in to change notification settings - Fork 2
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
Showing
5 changed files
with
38 additions
and
1 deletion.
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
add_executable(performance_test run.cpp) | ||
configure_file(configuration.lua configuration.lua COPYONLY) | ||
ADD_CUSTOM_TARGET(performance_test_sync ALL | ||
COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_CURRENT_SOURCE_DIR}/configuration ${CMAKE_CURRENT_BINARY_DIR}/configuration | ||
COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_CURRENT_SOURCE_DIR}/result ${CMAKE_CURRENT_BINARY_DIR}/result | ||
COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_CURRENT_SOURCE_DIR}/module_performance ${CMAKE_CURRENT_BINARY_DIR}/module_performance) | ||
add_dependencies(performance_test performance_test_sync) | ||
target_link_libraries(performance_test verdandi gtest_main) | ||
|
||
include(GoogleTest) | ||
gtest_discover_tests(performance_test) |
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
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#add_subdirectory(method) | ||
add_subdirectory(method) | ||
add_subdirectory(model) | ||
add_subdirectory(tool) |
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,19 @@ | ||
# add_executable(TestInstantiator TestInstantiator.cxx) | ||
# target_link_libraries(TestInstantiator vtkCommon) | ||
# add_test(NAME TestInstantiator | ||
# COMMAND TestInstantiator) | ||
|
||
# set(VERDANDI_GTEST_MODEL "Verdandi::QuadraticModel<real>") | ||
# set(VERDANDI_GTEST_CONFIG_PATH "\'\"configuration.lua\"\'") | ||
|
||
add_executable(method_test run.cpp) | ||
configure_file(configuration.lua configuration.lua COPYONLY) | ||
ADD_CUSTOM_TARGET(method_test_sync ALL | ||
COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_CURRENT_SOURCE_DIR}/configuration ${CMAKE_CURRENT_BINARY_DIR}/configuration | ||
COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_CURRENT_SOURCE_DIR}/result ${CMAKE_CURRENT_BINARY_DIR}/result) | ||
add_dependencies(method_test method_test_sync) | ||
|
||
target_link_libraries( method_test seldon verdandi gtest_main ) | ||
|
||
include(GoogleTest) | ||
gtest_discover_tests(method_test) |
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