-
Lionel GUEZ authored
This is not very useful, now that there is the test on `write_cont_list`. The test on `write_cont_list` should not be a performance penalty.
Lionel GUEZ authoredThis is not very useful, now that there is the test on `write_cont_list`. The test on `write_cont_list` should not be a performance penalty.
CMakeLists.txt 2.62 KiB
# test_get_1_outerm
add_executable(test_get_1_outerm test_get_1_outerm.f90)
target_link_libraries(test_get_1_outerm PRIVATE Geometry::geometry
NetCDF95::netcdf95 Shapelib_03::shapelib_03 Contour_531::contour_531
Jumble::jumble NetCDF_Fortran::netcdff)
# test_good_contour
add_executable(test_good_contour test_good_contour.f90)
target_link_libraries(test_good_contour PRIVATE Geometry::geometry
NetCDF95::netcdf95 Shapelib_03::shapelib_03 Contour_531::contour_531
Jumble::jumble NetCDF_Fortran::netcdff)
# test_mean_speed
add_executable(test_mean_speed test_mean_speed.f90)
target_link_libraries(test_mean_speed PRIVATE Numer_Rec_95::numer_rec_95
NetCDF95::netcdf95 Shapelib_03::shapelib_03 Contour_531::contour_531
NetCDF_Fortran::netcdff gpc_f Jumble::jumble)
# test_nearby_extr
add_executable(test_nearby_extr test_nearby_extr.f90
${PROJECT_SOURCE_DIR}/Overlap/read_grid.F90
${PROJECT_SOURCE_DIR}/Overlap/read_snapshot.f90
${PROJECT_SOURCE_DIR}/Overlap/read_eddy.f90)
target_compile_definitions(test_nearby_extr PRIVATE CPP_SEQUENTIAL)
target_link_libraries(test_nearby_extr PRIVATE Shapelib_03::shapelib_03
Contour_531::contour_531 Jumble::jumble gpc_f Numer_Rec_95::numer_rec_95)
# test_local_extrema
add_executable(test_local_extrema test_local_extrema.f90)
target_link_libraries(test_local_extrema PRIVATE NetCDF95::netcdf95
Jumble::jumble NetCDF_Fortran::netcdff)
# test_set_max_speed
add_executable(test_set_max_speed test_set_max_speed.f90
${PROJECT_SOURCE_DIR}/Overlap/read_eddy.f90 cont_list.f90)
target_link_libraries(test_set_max_speed PRIVATE Geometry::geometry
Numer_Rec_95::numer_rec_95 NetCDF95::netcdf95
Shapelib_03::shapelib_03 Contour_531::contour_531 Jumble::jumble
NetCDF_Fortran::netcdff gpc_f)
# test_complete_ssh
add_executable(test_complete_ssh test_complete_ssh.f90)
target_link_libraries(test_complete_ssh PRIVATE Jumble::jumble)
# inst_eddies
target_sources(inst_eddies PRIVATE cont_list.f90)
# examine_eddies
add_executable(examine_eddy examine_eddy.f90 cont_list.f90
${PROJECT_SOURCE_DIR}/Overlap/read_eddy.f90)
target_link_libraries(examine_eddy PRIVATE Contour_531::contour_531
Jumble::jumble Shapelib_03::shapelib_03 NetCDF95::netcdf95 gpc_f
Geometry::geometry Numer_Rec_95::numer_rec_95)
foreach(my_target IN ITEMS test_get_1_outerm test_good_contour test_mean_speed
test_nearby_extr test_local_extrema test_set_max_speed test_complete_ssh
examine_eddy)
set_target_properties(${my_target} PROPERTIES Fortran_MODULE_DIRECTORY
${CMAKE_CURRENT_BINARY_DIR}/${my_target}_modules)
target_include_directories(${my_target} PRIVATE
${CMAKE_CURRENT_BINARY_DIR}/${my_target}_modules)
endforeach()