summaryrefslogtreecommitdiff
path: root/training/dtrain/CMakeLists.txt
blob: 8423675f53dc99895ca2c43bb77ee818d3c210f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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(dtrain_SRCS
    dtrain.cc
    score.cc
    dtrain.h
    kbestget.h
    ksampler.h
    pairsampling.h
    score.h)
add_executable(dtrain ${dtrain_SRCS})
target_link_libraries(dtrain libcdec ksearch mteval utils klm klm_util klm_util_double ${Boost_LIBRARIES} ${ZLIB_LIBRARIES} ${BZIP2_LIBRARIES} ${LIBLZMA_LIBRARIES} ${LIBDL_LIBRARIES})