summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tests/CMakeLists.txt3
-rw-r--r--src/tests/tng_io_testing.h.in6
2 files changed, 1 insertions, 8 deletions
diff --git a/src/tests/CMakeLists.txt b/src/tests/CMakeLists.txt
index 535b442..6320769 100644
--- a/src/tests/CMakeLists.txt
+++ b/src/tests/CMakeLists.txt
@@ -4,12 +4,11 @@ if(NOT OPENMP_FOUND)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${OpenMP_C_FLAGS}")
endif()
-include_directories(${TRAJECTORY_SOURCE_DIR}/src/lib)
link_directories(${TRAJECTORY_BINARY_DIR}/src/lib)
set(EXAMPLE_FILES_DIR ${CMAKE_BINARY_DIR}/example_files/ CACHE STRING "Directory where to find input test files and save output files.")
-configure_file(tng_io_testing.h.in ${CMAKE_BINARY_DIR}/generated/tng_io_testing.h)
+configure_file(${TRAJECTORY_SOURCE_DIR}/include/tng_io_testing.h.in ${CMAKE_BINARY_DIR}/generated/tng_io_testing.h)
include_directories(${CMAKE_BINARY_DIR}/generated/)
add_executable(tng_testing tng_io_testing.c)
diff --git a/src/tests/tng_io_testing.h.in b/src/tests/tng_io_testing.h.in
deleted file mode 100644
index b0d45a1..0000000
--- a/src/tests/tng_io_testing.h.in
+++ /dev/null
@@ -1,6 +0,0 @@
-#ifndef _TNG_IO_TESTING_H
-#define _TNG_IO_TESTING_H
-
-#define EXAMPLE_FILES_DIR "@EXAMPLE_FILES_DIR@"
-
-#endif \ No newline at end of file
contact: Jan Huwald // Impressum