Skip to content

Commit

Permalink
修改configure,添加Release选项;修改CMakeLists.txt,config配置文件
Browse files Browse the repository at this point in the history
  • Loading branch information
Oneplus committed Mar 18, 2013
1 parent 6b11a9e commit e29f9ab
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,7 @@ SET(THIRDPARTY ${PROJECT_SOURCE_DIR}/thirdparty)

ADD_SUBDIRECTORY(thirdparty)
ADD_SUBDIRECTORY(src)

CONFIGURE_FILE(
${SOURCE}/test/ltp_all_modules.conf
${EXECUTABLE_OUTPUT_PATH}/ltp_all_modules.conf)
2 changes: 1 addition & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ if [ ! -d build ]; then
mkdir -p build
fi

(cd build >/dev/null 2>&1 && cmake .. "$@")
(cd build >/dev/null 2>&1 && cmake -DCMAKE_BUILD_TYPE=Release .. "$@")

0 comments on commit e29f9ab

Please sign in to comment.