From 983c01c718584fb9e0f25d02e90bc5ebd135aa09 Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Wed, 1 Aug 2012 10:02:14 +0800 Subject: update cmake --- data/CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'data') diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt index 467f226..3f2b532 100644 --- a/data/CMakeLists.txt +++ b/data/CMakeLists.txt @@ -26,6 +26,11 @@ set( ${CMAKE_BINARY_DIR}/utils/storage/import_interpolation ) +set( + gen_unigram_BIN + ${CMAKE_BINARY_DIR}/utils/training/gen_unigram +) + add_custom_target( data ALL @@ -69,6 +74,8 @@ add_custom_command( "Building binary bigram data..." COMMAND ${import_interpolation_BIN} < ${CMAKE_SOURCE_DIR}/data/interpolation.text + COMMAND + ${gen_unigram_BIN} DEPENDS import_interpolation ${CMAKE_SOURCE_DIR}/data/interpolation.text -- cgit