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
commit95183b5760d7f168ae093ae8f9b29740628a278f (patch)
tree4c213e940a80a08d60141d11ec35cbe8f17d4755 /klm/search
parentc7b2a39958912d7b85a384a871609e6db73042c7 (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..
-