summaryrefslogtreecommitdiff
path: root/training/dpmert/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'training/dpmert/CMakeLists.txt')
-rw-r--r--training/dpmert/CMakeLists.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/training/dpmert/CMakeLists.txt b/training/dpmert/CMakeLists.txt
index 382af070..6250ca43 100644
--- a/training/dpmert/CMakeLists.txt
+++ b/training/dpmert/CMakeLists.txt
@@ -28,6 +28,14 @@ set(mr_dpmert_reduce_SRCS
add_executable(mr_dpmert_reduce ${mr_dpmert_reduce_SRCS})
target_link_libraries(mr_dpmert_reduce dpmert training_utils libcdec ksearch mteval utils klm klm_util klm_util_double ${Boost_LIBRARIES} z)
+add_custom_command(TARGET mr_dpmert_reduce
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/dpmert.pl ${CMAKE_CURRENT_BINARY_DIR})
+
+add_custom_command(TARGET mr_dpmert_reduce
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/divide_refs.py ${CMAKE_CURRENT_BINARY_DIR})
+
set(mr_dpmert_generate_mapper_input_SRCS mr_dpmert_generate_mapper_input.cc)
add_executable(mr_dpmert_generate_mapper_input ${mr_dpmert_generate_mapper_input_SRCS})