diff --git a/test/computational_routines/CMakeLists.txt b/test/computational_routines/CMakeLists.txt index 1cc56d33..f6ddb4a2 100644 --- a/test/computational_routines/CMakeLists.txt +++ b/test/computational_routines/CMakeLists.txt @@ -29,26 +29,26 @@ set(PSBLAS_LIBS psblas::util psblas::prec psblas::base) include(${CMAKE_CURRENT_LIST_DIR}/geaxpby/CMakeLists.txt) -#include(${CMAKE_CURRENT_LIST_DIR}/gedor/CMakeLists.txt) +include(${CMAKE_CURRENT_LIST_DIR}/gedot/CMakeLists.txt) include(${CMAKE_CURRENT_LIST_DIR}/spmm/CMakeLists.txt) # Create executables add_executable(psb_geaxpby_test ${geaxpby_source_files}) -#add_executable(psb_gedot ${GEDOT_SOURCES}) +add_executable(psb_gedot_test ${gedot_source_files}) add_executable(psb_spmm_test ${spmm_source_files}) # Link the necessary libraries target_link_libraries(psb_geaxpby_test ${PSBLAS_LIBS}) -#target_link_libraries(psb_gedot psblas::util psblas::prec psblas::base) +target_link_libraries(psb_gedot_test ${PSBLAS_LIBS}) target_link_libraries(psb_spmm_test ${PSBLAS_LIBS}) # Set output directory set_target_properties(psb_geaxpby_test PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${EXEDIR} ) -#set_target_properties(psb_gedot PROPERTIES -# RUNTIME_OUTPUT_DIRECTORY ${EXEDIR} -#) +set_target_properties(psb_gedot_test PROPERTIES + RUNTIME_OUTPUT_DIRECTORY ${EXEDIR} +) set_target_properties(psb_spmm_test PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${EXEDIR} ) diff --git a/test/computational_routines/gedot/CMakeLists.txt b/test/computational_routines/gedot/CMakeLists.txt new file mode 100644 index 00000000..ac704392 --- /dev/null +++ b/test/computational_routines/gedot/CMakeLists.txt @@ -0,0 +1,8 @@ +set(PSB_gedot_source_files + psb_gedot_test.f90 + gedot.f90 +) +foreach(file IN LISTS PSB_gedot_source_files) + list(APPEND gedot_source_files ${CMAKE_CURRENT_LIST_DIR}/${file}) +endforeach() +