summaryrefslogtreecommitdiff
path: root/klm/search
diff options
context:
space:
mode:
authorChris Dyer <redpony@gmail.com>2015-04-02 00:50:04 -0400
committerChris Dyer <redpony@gmail.com>2015-04-02 00:50:04 -0400
commit5ee02ce1602f2fce6d5af5db93c2278fe6c9ede5 (patch)
tree7ebad8dd99e38d190c579f425c3eb959363e96e5 /klm/search
parente7d77de8a9b9929b22fc6562f88f3668900f9662 (diff)
parent737ed7a7f932b1a7e40d2755bcdee6bc0aa2de63 (diff)
Merge pull request #70 from redpony/cmake
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..
-