diff options
author | Magnus Lundborg <magnus.lundborg@scilifelab.se> | 2013-01-10 10:16:46 (GMT) |
---|---|---|
committer | Magnus Lundborg <magnus.lundborg@scilifelab.se> | 2013-01-10 10:16:46 (GMT) |
commit | 7b3daed952505700792baa58d418fc138475f883 (patch) | |
tree | 10fba88e54a959c4d7d9c0162564ddb58de24215 /src/tests/CMakeLists.txt | |
parent | 8adf800968b78afecbc9ddbb8e87f97f476a7bb5 (diff) |
Added fortran version of md example (not working fully yet). Added an example for getting positions from file. Minor fixes.
Diffstat (limited to 'src/tests/CMakeLists.txt')
-rw-r--r-- | src/tests/CMakeLists.txt | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/src/tests/CMakeLists.txt b/src/tests/CMakeLists.txt index 92c580d..5ab5a55 100644 --- a/src/tests/CMakeLists.txt +++ b/src/tests/CMakeLists.txt @@ -14,4 +14,17 @@ add_executable(tng_testing tng_io_testing.c) target_link_libraries(tng_testing tng_io) add_executable(md_openmp md_openmp.c) -target_link_libraries(md_openmp tng_io ${OpenMP_LIBS} m)
\ No newline at end of file +target_link_libraries(md_openmp tng_io ${OpenMP_LIBS} m) + +add_executable(tng_io_read_pos tng_io_read_pos.c) +target_link_libraries(tng_io_read_pos tng_io) + +# enable_language(Fortran OPTIONAL) +# if(${CMAKE_Fortran_COMPILER_WORKS}) +# get_filename_component (Fortran_COMPILER_NAME ${CMAKE_Fortran_COMPILER} NAME) +# if (Fortran_COMPILER_NAME STREQUAL "gfortran") +# set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -fcray-pointer ${OpenMP_C_FLAGS} -std=legacy") +# endif() +# add_executable(md_openmp_f md_openmp.f) +# target_link_libraries(md_openmp_f tng_io ${OpenMP_LIBS}) +# endif() |