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/mira | |
parent | c7021174a3592d6bb160a001dbced72d3f31d148 (diff) |
copy scripts
Diffstat (limited to 'training/mira')
-rw-r--r-- | training/mira/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/training/mira/CMakeLists.txt b/training/mira/CMakeLists.txt index 55ca03e2..0d22f134 100644 --- a/training/mira/CMakeLists.txt +++ b/training/mira/CMakeLists.txt @@ -11,6 +11,10 @@ set(kbest_cut_mira_SRCS kbest_cut_mira.cc) add_executable(kbest_cut_mira ${kbest_cut_mira_SRCS}) target_link_libraries(kbest_cut_mira libcdec ksearch mteval utils klm klm_util klm_util_double ${Boost_LIBRARIES} ${ZLIB_LIBRARIES} ${BZIP2_LIBRARIES} ${LIBLZMA_LIBRARIES} ${LIBDL_LIBRARIES}) +add_custom_command(TARGET kbest_cut_mira + POST_BUILD + COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/mira.py ${CMAKE_CURRENT_BINARY_DIR}/mira.py) + set(ada_opt_sm_SRCS ada_opt_sm.cc) add_executable(ada_opt_sm ${ada_opt_sm_SRCS}) target_link_libraries(ada_opt_sm training_utils libcdec ksearch mteval utils klm klm_util klm_util_double ${Boost_LIBRARIES} ${ZLIB_LIBRARIES} ${BZIP2_LIBRARIES} ${LIBLZMA_LIBRARIES} ${LIBDL_LIBRARIES}) |