diff options
author | Chris Dyer <redpony@gmail.com> | 2015-04-27 01:01:54 -0400 |
---|---|---|
committer | Chris Dyer <redpony@gmail.com> | 2015-04-27 01:01:54 -0400 |
commit | baaa91375561a4a7eeabaf8a5d4b7283b459a8e1 (patch) | |
tree | 01e2d7b700e65e00836a29b819a8a6595fc8c205 /training/dpmert | |
parent | c7021174a3592d6bb160a001dbced72d3f31d148 (diff) |
copy scripts
Diffstat (limited to 'training/dpmert')
-rw-r--r-- | training/dpmert/CMakeLists.txt | 8 |
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}) |