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 --- training/rampion/CMakeLists.txt | 8 ++++++++ training/rampion/Makefile.am | 8 -------- 2 files changed, 8 insertions(+), 8 deletions(-) create mode 100644 training/rampion/CMakeLists.txt delete mode 100644 training/rampion/Makefile.am (limited to 'training/rampion') diff --git a/training/rampion/CMakeLists.txt b/training/rampion/CMakeLists.txt new file mode 100644 index 00000000..8a60b5ff --- /dev/null +++ b/training/rampion/CMakeLists.txt @@ -0,0 +1,8 @@ +INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/../utils) +INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/../../utils) +INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/../../mteval) +INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/../../decoder) + +set(rampion_cccp_SRCS rampion_cccp.cc) +add_executable(rampion_cccp ${rampion_cccp_SRCS}) +target_link_libraries(rampion_cccp training_utils libcdec mteval utils ${Boost_LIBRARIES} z) diff --git a/training/rampion/Makefile.am b/training/rampion/Makefile.am deleted file mode 100644 index c72283cd..00000000 --- a/training/rampion/Makefile.am +++ /dev/null @@ -1,8 +0,0 @@ -bin_PROGRAMS = rampion_cccp - -rampion_cccp_SOURCES = rampion_cccp.cc -rampion_cccp_LDADD = ../../training/utils/libtraining_utils.a ../../decoder/libcdec.a ../../mteval/libmteval.a ../../utils/libutils.a - -EXTRA_DIST = rampion.pl rampion_generate_input.pl - -AM_CPPFLAGS = -W -Wall $(GTEST_CPPFLAGS) -I$(top_srcdir)/utils -I$(top_srcdir)/decoder -I$(top_srcdir)/mteval -I$(top_srcdir)/training/utils -- cgit v1.2.3