summaryrefslogtreecommitdiff
path: root/training/dpmert
diff options
context:
space:
mode:
authorChris Dyer <redpony@gmail.com>2015-04-27 01:01:54 -0400
committerChris Dyer <redpony@gmail.com>2015-04-27 01:01:54 -0400
commitbaaa91375561a4a7eeabaf8a5d4b7283b459a8e1 (patch)
tree01e2d7b700e65e00836a29b819a8a6595fc8c205 /training/dpmert
parentc7021174a3592d6bb160a001dbced72d3f31d148 (diff)
copy scripts
Diffstat (limited to 'training/dpmert')
-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})