diff options
author | Chris Dyer <redpony@gmail.com> | 2015-03-03 01:14:07 -0500 |
---|---|---|
committer | Chris Dyer <redpony@gmail.com> | 2015-03-03 01:14:07 -0500 |
commit | 95183b5760d7f168ae093ae8f9b29740628a278f (patch) | |
tree | 4c213e940a80a08d60141d11ec35cbe8f17d4755 /word-aligner | |
parent | c7b2a39958912d7b85a384a871609e6db73042c7 (diff) |
migration to cmake
Diffstat (limited to 'word-aligner')
-rw-r--r-- | word-aligner/CMakeLists.txt | 10 | ||||
-rw-r--r-- | word-aligner/Makefile.am | 12 |
2 files changed, 10 insertions, 12 deletions
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 |