summaryrefslogtreecommitdiff
path: root/src/tests/CMakeLists.txt
diff options
context:
space:
mode:
authorMagnus Lundborg <lundborg.magnus@gmail.com>2013-05-23 15:06:59 (GMT)
committerMagnus Lundborg <lundborg.magnus@gmail.com>2013-05-23 15:06:59 (GMT)
commitf043e57811aed313b0de3fd3aa4f6df734156191 (patch)
treee7a86b34e8188a98ed7c5128112c916f3fef9c67 /src/tests/CMakeLists.txt
parent0a4c5591fb33b862c867b1e31b3fd225e93fbf76 (diff)
More work on high-level API. New example files.
Fixed many bugs in the high-level API. Use the high-level API (where appropriate) in new example files.
Diffstat (limited to 'src/tests/CMakeLists.txt')
-rw-r--r--src/tests/CMakeLists.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/tests/CMakeLists.txt b/src/tests/CMakeLists.txt
index bee72c9..aef21ee 100644
--- a/src/tests/CMakeLists.txt
+++ b/src/tests/CMakeLists.txt
@@ -33,6 +33,13 @@ if(BUILD_TNG_EXAMPLES)
target_link_libraries(md_openmp m)
endif()
set_property(TARGET md_openmp PROPERTY RUNTIME_OUTPUT_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/examples)
+
+ add_executable(md_openmp_util md_openmp_util.c)
+ target_link_libraries(md_openmp_util tng_io ${OpenMP_LIBS})
+ if(UNIX)
+ target_link_libraries(md_openmp_util m)
+ endif()
+ set_property(TARGET md_openmp_util PROPERTY RUNTIME_OUTPUT_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/examples)
endif()
add_executable(tng_io_read_pos tng_io_read_pos.c)
@@ -42,6 +49,13 @@ if(BUILD_TNG_EXAMPLES)
endif()
set_property(TARGET tng_io_read_pos PROPERTY RUNTIME_OUTPUT_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/examples)
+ add_executable(tng_io_read_pos_util tng_io_read_pos_util.c)
+ target_link_libraries(tng_io_read_pos_util tng_io)
+ if(UNIX)
+ target_link_libraries(tng_io_read_pos_util m)
+ endif()
+ set_property(TARGET tng_io_read_pos_util PROPERTY RUNTIME_OUTPUT_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/examples)
+
add_executable(tng_parallel_read tng_parallel_read.c)
target_link_libraries(tng_parallel_read tng_io)
if(UNIX)
contact: Jan Huwald // Impressum