mirror of
https://git.gfz-potsdam.de/naaice/poet.git
synced 2025-12-15 12:28:22 +01:00
feat: implement NamedVector based on Rcpp::NumericVector feat: remove hard coded checks and substitute by R hook functions, defined in the input script refactor: modify API of DHT_Wrapper/InterpolationModule to expect a work package structure, where input/output values are stored as 2D vectors test: add tests for NamedVector test: extend tests for Field
16 lines
446 B
CMake
16 lines
446 B
CMake
file(GLOB test_SRC
|
|
CONFIGURE_DEPENDS
|
|
"*.cpp" "*.c")
|
|
|
|
add_executable(testPOET ${test_SRC})
|
|
target_link_libraries(testPOET doctest poet_lib)
|
|
|
|
get_filename_component(TEST_RInsideSourceFile "RInsidePOET_funcs.R" REALPATH)
|
|
configure_file(testDataStructures.hpp.in testDataStructures.hpp)
|
|
target_include_directories(testPOET PRIVATE "${CMAKE_CURRENT_BINARY_DIR}")
|
|
|
|
add_custom_target(check
|
|
COMMAND $<TARGET_FILE:testPOET>
|
|
DEPENDS testPOET
|
|
)
|