diff options
author | Chris Dyer <redpony@gmail.com> | 2015-04-02 00:50:04 -0400 |
---|---|---|
committer | Chris Dyer <redpony@gmail.com> | 2015-04-02 00:50:04 -0400 |
commit | 5ee02ce1602f2fce6d5af5db93c2278fe6c9ede5 (patch) | |
tree | 7ebad8dd99e38d190c579f425c3eb959363e96e5 /training/const_reorder | |
parent | e7d77de8a9b9929b22fc6562f88f3668900f9662 (diff) | |
parent | 737ed7a7f932b1a7e40d2755bcdee6bc0aa2de63 (diff) |
Merge pull request #70 from redpony/cmake
Cmake
Diffstat (limited to 'training/const_reorder')
-rw-r--r-- | training/const_reorder/CMakeLists.txt | 9 | ||||
-rw-r--r-- | training/const_reorder/Makefile.am | 8 |
2 files changed, 9 insertions, 8 deletions
diff --git a/training/const_reorder/CMakeLists.txt b/training/const_reorder/CMakeLists.txt new file mode 100644 index 00000000..da074a23 --- /dev/null +++ b/training/const_reorder/CMakeLists.txt @@ -0,0 +1,9 @@ +INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/../../utils) + +set(const_reorder_model_trainer_SRCS constituent_reorder_model.cc trainer.h trainer.cc) +add_executable(const_reorder_model_trainer ${const_reorder_model_trainer_SRCS}) +target_link_libraries(const_reorder_model_trainer utils ${Boost_LIBRARIES} z) + +set(argument_reorder_model_trainer_SRCS argument_reorder_model.cc trainer.h trainer.cc) +add_executable(argument_reorder_model_trainer ${argument_reorder_model_trainer_SRCS}) +target_link_libraries(argument_reorder_model_trainer utils ${Boost_LIBRARIES} z) diff --git a/training/const_reorder/Makefile.am b/training/const_reorder/Makefile.am deleted file mode 100644 index 2c681398..00000000 --- a/training/const_reorder/Makefile.am +++ /dev/null @@ -1,8 +0,0 @@ -bin_PROGRAMS = const_reorder_model_trainer argument_reorder_model_trainer - -AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/utils -I$(top_srcdir)/decoder - -const_reorder_model_trainer_SOURCES = constituent_reorder_model.cc trainer.h trainer.cc -const_reorder_model_trainer_LDADD = ../../utils/libutils.a -argument_reorder_model_trainer_SOURCES = argument_reorder_model.cc trainer.h trainer.cc -argument_reorder_model_trainer_LDADD = ../../utils/libutils.a |