summaryrefslogtreecommitdiff
path: root/klm/search
diff options
context:
space:
mode:
authorChris Dyer <redpony@gmail.com>2015-03-03 01:14:07 -0500
committerChris Dyer <redpony@gmail.com>2015-03-03 01:14:07 -0500
commit6cbdccb1d9a62b2723b962ba4b6e66f1631e48d3 (patch)
tree686d2e294f8a69cad620fced60106fcb1f6cac8e /klm/search
parent24cee877f2bb4b490495ea578564d0266b1addd3 (diff)
migration to cmake
Diffstat (limited to 'klm/search')
-rw-r--r--klm/search/CMakeLists.txt22
-rw-r--r--klm/search/Makefile.am22
2 files changed, 22 insertions, 22 deletions
diff --git a/klm/search/CMakeLists.txt b/klm/search/CMakeLists.txt
new file mode 100644
index 00000000..af352499
--- /dev/null
+++ b/klm/search/CMakeLists.txt
@@ -0,0 +1,22 @@
+INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/..)
+
+set(ksearch_STAT_SRCS
+ applied.hh
+ config.hh
+ context.hh
+ dedupe.hh
+ edge.hh
+ edge_generator.cc
+ edge_generator.hh
+ header.hh
+ nbest.cc
+ nbest.hh
+ rule.cc
+ rule.hh
+ types.hh
+ vertex.cc
+ vertex.hh
+ vertex_generator.hh)
+
+add_library(ksearch STATIC ${ksearch_STAT_SRCS})
+
diff --git a/klm/search/Makefile.am b/klm/search/Makefile.am
deleted file mode 100644
index b7f01c24..00000000
--- a/klm/search/Makefile.am
+++ /dev/null
@@ -1,22 +0,0 @@
-noinst_LIBRARIES = libksearch.a
-
-libksearch_a_SOURCES = \
- applied.hh \
- config.hh \
- context.hh \
- dedupe.hh \
- edge.hh \
- edge_generator.cc \
- edge_generator.hh \
- header.hh \
- nbest.cc \
- nbest.hh \
- rule.cc \
- rule.hh \
- types.hh \
- vertex.cc \
- vertex.hh \
- vertex_generator.hh
-
-AM_CPPFLAGS = -W -Wall -Wno-sign-compare -I..
-