Skip to content

Commit

Permalink
add cmake support
Browse files Browse the repository at this point in the history
  • Loading branch information
vsooda committed Nov 28, 2016
1 parent 9ef9aad commit 03fb4da
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
cmake_minimum_required(VERSION 2.8)
project(THULAC)

set(SOURCE_FILES
src/cb_decoder.h
src/cb_model.h
src/cb_ngram_feature.h
src/cb_tagging_decoder.h
src/cb_tagging_learner.h
src/dat.h
src/filter.h
src/negword.h
src/postprocess.h
src/preprocess.h
src/punctuation.h
src/thulac_base.h
src/thulac_character.h
src/thulac_raw.h
src/timeword.h
src/verbword.h)

add_executable(thulac src/thulac.cc ${SOURCE_FILES})
add_executable(train src/train_c.cc ${SOURCE_FILES})

0 comments on commit 03fb4da

Please sign in to comment.