mirror of
https://git.gfz-potsdam.de/naaice/poet.git
synced 2025-12-16 04:48:23 +01:00
Update CMakeLists.txt and include headers in test files
This commit is contained in:
parent
a2dc30962f
commit
af840e756e
@ -3,7 +3,7 @@ file(GLOB test_SRC
|
|||||||
"*.cpp" "*.c")
|
"*.cpp" "*.c")
|
||||||
|
|
||||||
add_executable(testPOET ${test_SRC})
|
add_executable(testPOET ${test_SRC})
|
||||||
target_link_libraries(testPOET doctest poetlib)
|
target_link_libraries(testPOET doctest POETLib)
|
||||||
target_include_directories(testPOET PRIVATE "${PROJECT_SOURCE_DIR}/src")
|
target_include_directories(testPOET PRIVATE "${PROJECT_SOURCE_DIR}/src")
|
||||||
|
|
||||||
get_filename_component(TEST_RInsideSourceFile "RInsidePOET_funcs.R" REALPATH)
|
get_filename_component(TEST_RInsideSourceFile "RInsidePOET_funcs.R" REALPATH)
|
||||||
|
|||||||
@ -1,15 +1,12 @@
|
|||||||
#include <Rcpp.h>
|
#include <Rcpp.h>
|
||||||
#include <algorithm>
|
|
||||||
#include <array>
|
|
||||||
#include <cstddef>
|
#include <cstddef>
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
#include <doctest/doctest.h>
|
#include <doctest/doctest.h>
|
||||||
#include <iostream>
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#include <Base/RInsidePOET.hpp>
|
#include <Base/RInsidePOET.hpp>
|
||||||
#include <DataStructures/DataStructures.hpp>
|
#include <DataStructures/Field.hpp>
|
||||||
|
|
||||||
#include "testDataStructures.hpp"
|
#include "testDataStructures.hpp"
|
||||||
|
|
||||||
|
|||||||
@ -1,11 +1,10 @@
|
|||||||
#include <Rcpp.h>
|
#include <Rcpp.h>
|
||||||
#include <cstddef>
|
#include <cstddef>
|
||||||
#include <doctest/doctest.h>
|
#include <doctest/doctest.h>
|
||||||
#include <utility>
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#include <Base/RInsidePOET.hpp>
|
#include <Base/RInsidePOET.hpp>
|
||||||
#include <DataStructures/DataStructures.hpp>
|
#include <DataStructures/NamedVector.hpp>
|
||||||
|
|
||||||
#include "testDataStructures.hpp"
|
#include "testDataStructures.hpp"
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user