summaryrefslogtreecommitdiff
path: root/example_extff/CMakeLists.txt
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 /example_extff/CMakeLists.txt
parent24cee877f2bb4b490495ea578564d0266b1addd3 (diff)
migration to cmake
Diffstat (limited to 'example_extff/CMakeLists.txt')
-rw-r--r--example_extff/CMakeLists.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/example_extff/CMakeLists.txt b/example_extff/CMakeLists.txt
new file mode 100644
index 00000000..5170a0b2
--- /dev/null
+++ b/example_extff/CMakeLists.txt
@@ -0,0 +1,10 @@
+INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/../utils)
+INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/../mteval)
+INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/../klm)
+INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/../decoder)
+INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/..)
+
+set(ff_example_LIB_SRCS ff_example.cc)
+add_library(ff_example SHARED ${ff_example_LIB_SRCS})
+target_link_libraries(ff_example libcdec utils)
+set_target_properties(ff_example PROPERTIES VERSION 1.0.0 SOVERSION 1)