forked from SUTDNLP/ZPar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
32 lines (32 loc) · 1.52 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
cmake_minimum_required (VERSION 2.8.0)
project ("ZPar - A collections of sentence parsing tools")
set (EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin)
set (SOURCE_DIR ${PROJECT_SOURCE_DIR}/src)
include_directories (${SOURCE_DIR} ${SOURCE_DIR}/include)
include_directories (${SOURCE_DIR}/chinese)
set (CMAKE_CXX_FLAGS "-std=c++11 -g -w -W -O3 -DNDEBUG -DPERCEPTRON_FOR_DECODING -DLABELED -DTARGET_LANGUAGE=chinese")
include_directories (${SOURCE_DIR}/chinese/posdepparser)
include_directories (${SOURCE_DIR}/chinese/posdepparser/implementations/jcad)
add_executable (chinese.posdepparser.parser
${SOURCE_DIR}/libs/reader.cpp
${SOURCE_DIR}/libs/writer.cpp
${SOURCE_DIR}/libs/options.cpp
${SOURCE_DIR}/libs/linguistics/lemma.cpp
${SOURCE_DIR}/libs/linguistics/conll.cpp
${SOURCE_DIR}/libs/learning/dbn.cpp
${SOURCE_DIR}/chinese/posdepparser/implementations/jcad/posdepparser.cpp
${SOURCE_DIR}/chinese/posdepparser/implementations/jcad/posdepparser_weight.cpp
${SOURCE_DIR}/chinese/posdepparser/main.cpp
)
set (CMAKE_CXX_FLAGS "-std=c++11 -g -w -W -O3 -DNDEBUG -DLABELED -DTARGET_LANGUAGE=chinese")
add_executable (chinese.posdepparser.train
${SOURCE_DIR}/libs/reader.cpp
${SOURCE_DIR}/libs/writer.cpp
${SOURCE_DIR}/libs/options.cpp
${SOURCE_DIR}/libs/linguistics/lemma.cpp
${SOURCE_DIR}/libs/linguistics/conll.cpp
${SOURCE_DIR}/libs/learning/dbn.cpp
${SOURCE_DIR}/chinese/posdepparser/implementations/jcad/posdepparser.cpp
${SOURCE_DIR}/chinese/posdepparser/implementations/jcad/posdepparser_weight.cpp
${SOURCE_DIR}/chinese/posdepparser/train.cpp
)