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/pro/CMakeLists.txt | |
parent | c7021174a3592d6bb160a001dbced72d3f31d148 (diff) |
copy scripts
Diffstat (limited to 'training/pro/CMakeLists.txt')
-rw-r--r-- | training/pro/CMakeLists.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/training/pro/CMakeLists.txt b/training/pro/CMakeLists.txt index 5ee09a74..5be1ab39 100644 --- a/training/pro/CMakeLists.txt +++ b/training/pro/CMakeLists.txt @@ -10,6 +10,14 @@ set(mr_pro_map_SRCS mr_pro_map.cc) add_executable(mr_pro_map ${mr_pro_map_SRCS}) target_link_libraries(mr_pro_map training_utils libcdec ksearch mteval utils klm klm_util klm_util_double ${Boost_LIBRARIES} z) +add_custom_command(TARGET mr_pro_map + POST_BUILD + COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/mr_pro_generate_mapper_input.pl ${CMAKE_CURRENT_BINARY_DIR}) + +add_custom_command(TARGET mr_pro_map + POST_BUILD + COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/pro.pl ${CMAKE_CURRENT_BINARY_DIR}) + ########### next target ############### set(mr_pro_reduce_SRCS mr_pro_reduce.cc) |