add_executable(logger_test logger_test.cpp)

cuda_add_executable(dropout_test dropout_test.cu)
#cuda_add_executable(tensor_test tensor_test.cu)
#cuda_add_executable(marian_test marian_test.cu)
cuda_add_executable(bn_test bn_test.cu)

target_link_libraries(dropout_test marian_lib)
#target_link_libraries(tensor_test marian_lib)
#target_link_libraries(marian_test marian_lib)
target_link_libraries(bn_test marian_lib)

foreach(exec
    logger_test
    dropout_test
    #tensor_test
    #marian_test
    bn_test)
  target_link_libraries(${exec} ${EXT_LIBS})
  cuda_add_cublas_to_target(${exec})
  set_target_properties(${exec} PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}")
endforeach(exec)

add_executable(logger_test logger_test.cpp)

cuda_add_executable(dropout_test dropout_test.cu)
#cuda_add_executable(tensor_test tensor_test.cu)
#cuda_add_executable(marian_test marian_test.cu)
cuda_add_executable(bn_test bn_test.cu)

foreach(exec
    logger_test
    dropout_test
    #tensor_test
    #marian_test
    bn_test)
  target_link_libraries(${exec} marian ${EXT_LIBS})
  cuda_add_cublas_to_target(${exec})
  set_target_properties(${exec} PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}")
endforeach(exec)

Fix library linking in tests
Fix library linking in tests
