mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2026-02-04 20:08:40 +01:00
added a way to find test data wihout copy
This commit is contained in:
7
tests/test_config.hpp.in
Normal file
7
tests/test_config.hpp.in
Normal file
@@ -0,0 +1,7 @@
|
||||
#pragma once
|
||||
#include <filesystem>
|
||||
|
||||
static constexpr auto test_data_path_str = "@TEST_FILE_PATH@";
|
||||
inline auto test_data_path() {
|
||||
return std::filesystem::path(test_data_path_str);
|
||||
}
|
||||
Reference in New Issue
Block a user