summaryrefslogtreecommitdiff
path: root/training/dtrain
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/dtrain
parentc7021174a3592d6bb160a001dbced72d3f31d148 (diff)
copy scripts
Diffstat (limited to 'training/dtrain')
-rw-r--r--training/dtrain/CMakeLists.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/training/dtrain/CMakeLists.txt b/training/dtrain/CMakeLists.txt
index 8423675f..027c80e4 100644
--- a/training/dtrain/CMakeLists.txt
+++ b/training/dtrain/CMakeLists.txt
@@ -13,3 +13,14 @@ set(dtrain_SRCS
score.h)
add_executable(dtrain ${dtrain_SRCS})
target_link_libraries(dtrain libcdec ksearch mteval utils klm klm_util klm_util_double ${Boost_LIBRARIES} ${ZLIB_LIBRARIES} ${BZIP2_LIBRARIES} ${LIBLZMA_LIBRARIES} ${LIBDL_LIBRARIES})
+
+
+add_custom_command(TARGET dtrain
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/lplp.rb ${CMAKE_CURRENT_BINARY_DIR})
+
+add_custom_command(TARGET dtrain
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/parallelize.rb ${CMAKE_CURRENT_BINARY_DIR})
+
+