diff options
Diffstat (limited to 'training/latent_svm')
-rw-r--r-- | training/latent_svm/CMakeLists.txt | 8 | ||||
-rw-r--r-- | training/latent_svm/Makefile.am | 6 |
2 files changed, 8 insertions, 6 deletions
diff --git a/training/latent_svm/CMakeLists.txt b/training/latent_svm/CMakeLists.txt new file mode 100644 index 00000000..ec48e02f --- /dev/null +++ b/training/latent_svm/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(latent_svm_SRCS latent_svm.cc) +add_executable(latent_svm ${latent_svm_SRCS}) +target_link_libraries(latent_svm libcdec ksearch mteval utils klm klm_util klm_util_double ${Boost_LIBRARIES} z) diff --git a/training/latent_svm/Makefile.am b/training/latent_svm/Makefile.am deleted file mode 100644 index 65c5e038..00000000 --- a/training/latent_svm/Makefile.am +++ /dev/null @@ -1,6 +0,0 @@ -bin_PROGRAMS = latent_svm - -latent_svm_SOURCES = latent_svm.cc -latent_svm_LDADD = ../..//decoder/libcdec.a ../../klm/search/libksearch.a ../../mteval/libmteval.a ../../utils/libutils.a ../../klm/lm/libklm.a ../../klm/util/libklm_util.a ../../klm/util/double-conversion/libklm_util_double.a - -AM_CPPFLAGS = -W -Wall -Wno-sign-compare -I$(top_srcdir)/utils -I$(top_srcdir)/decoder -I$(top_srcdir)/mteval |