Welcome to mirror list, hosted at ThFree Co, Russian Federation.

CMakeLists.txt « examples « src - github.com/marian-nmt/marian.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d4aed9a276dfb95b63401c216ac1a944dd88ade0 (plain)
1
2
3
4
5
6
7
8
add_executable(iris_example iris/iris.cpp)
add_executable(mnist_example mnist/mnist_ffnn.cpp)

foreach(exec iris_example mnist_example)
  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)