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/pro/CMakeLists.txt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 training/pro/CMakeLists.txt (limited to 'training/pro/CMakeLists.txt') diff --git a/training/pro/CMakeLists.txt b/training/pro/CMakeLists.txt new file mode 100644 index 00000000..5ee09a74 --- /dev/null +++ b/training/pro/CMakeLists.txt @@ -0,0 +1,18 @@ +INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/../utils) +INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/..) +INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/../../utils) +INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/../../mteval) +INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/../../decoder) + +########### next target ############### + +set(mr_pro_map_SRCS mr_pro_map.cc) +add_executable(mr_pro_map ${mr_pro_map_SRCS}) +target_link_libraries(mr_pro_map training_utils libcdec ksearch mteval utils klm klm_util klm_util_double ${Boost_LIBRARIES} z) + +########### next target ############### + +set(mr_pro_reduce_SRCS mr_pro_reduce.cc) +add_executable(mr_pro_reduce ${mr_pro_reduce_SRCS}) +target_link_libraries(mr_pro_reduce lbfgs utils ${Boost_LIBRARIES} z) + -- cgit v1.2.3