From 95183b5760d7f168ae093ae8f9b29740628a278f Mon Sep 17 00:00:00 2001 From: Chris Dyer Date: Tue, 3 Mar 2015 01:14:07 -0500 Subject: migration to cmake --- word-aligner/CMakeLists.txt | 10 ++++++++++ word-aligner/Makefile.am | 12 ------------ 2 files changed, 10 insertions(+), 12 deletions(-) create mode 100644 word-aligner/CMakeLists.txt delete mode 100644 word-aligner/Makefile.am (limited to 'word-aligner') diff --git a/word-aligner/CMakeLists.txt b/word-aligner/CMakeLists.txt new file mode 100644 index 00000000..baf85b31 --- /dev/null +++ b/word-aligner/CMakeLists.txt @@ -0,0 +1,10 @@ +INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/../utils) + +set(fast_align_SRCS + fast_align.cc + ttables.cc + da.h + ttables.h) +add_executable(fast_align ${fast_align_SRCS}) +target_link_libraries(fast_align utils ${Boost_LIBRARIES} z) + diff --git a/word-aligner/Makefile.am b/word-aligner/Makefile.am deleted file mode 100644 index 071e4977..00000000 --- a/word-aligner/Makefile.am +++ /dev/null @@ -1,12 +0,0 @@ -bin_PROGRAMS = fast_align binderiv - -fast_align_SOURCES = fast_align.cc ttables.cc da.h ttables.h -fast_align_LDADD = ../utils/libutils.a -fast_align_LDFLAGS = $(STATIC_FLAGS) - -binderiv_SOURCES = binderiv.cc -binderiv_LDADD = ../utils/libutils.a - -EXTRA_DIST = aligner.pl ortho-norm support makefiles stemmers - -AM_CPPFLAGS = -W -Wall -I$(top_srcdir) -I$(top_srcdir)/utils -I$(top_srcdir)/training -- cgit v1.2.3