File tree Expand file tree Collapse file tree 9 files changed +4
-127
lines changed Expand file tree Collapse file tree 9 files changed +4
-127
lines changed Original file line number Diff line number Diff line change @@ -5,15 +5,15 @@ CMAKE_MINIMUM_REQUIRED (VERSION 2.6)
55if (CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
66 set (CMAKE_INSTALL_PREFIX "/usr" CACHE PATH "default install path" FORCE )
77endif ()
8+
89ADD_DEFINITIONS (-O3 -Wall -g)
910IF (DEFINED ENC)
1011 ADD_DEFINITIONS (-DCPPJIEBA_${ENC} )
1112ENDIF ()
12- #ADD_DEFINITIONS(-DNO_FILTER)
13- ADD_SUBDIRECTORY (src)
14- ADD_SUBDIRECTORY (dict)
1513
1614IF ("${CMAKE_SYSTEM} " MATCHES "Linux" )
15+ ADD_SUBDIRECTORY (server)
16+ ADD_SUBDIRECTORY (dict)
1717ADD_SUBDIRECTORY (script)
1818ADD_SUBDIRECTORY (conf)
1919endif ()
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ make test
4747
4848```
4949#Usage: /etc/init.d/cjserver {start|stop|restart|force-reload}
50- /etc/init.d/cjserver.start
50+ /etc/init.d/cjserver.start >> /dev/null 2>&1
5151/etc/init.d/cjserver.stop
5252```
5353
Original file line number Diff line number Diff line change 11INSTALL (PROGRAMS cjserver.start cjserver.stop DESTINATION /etc/init.d/)
2- INSTALL (PROGRAMS cjseg.sh DESTINATION bin)
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11SET (EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR} /bin)
2- SET (LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR} /lib)
32
43INCLUDE_DIRECTORIES (${PROJECT_SOURCE_DIR} /src)
54
6- ADD_EXECUTABLE (cjsegment segment.cpp)
75ADD_EXECUTABLE (cjserver server.cpp)
86TARGET_LINK_LIBRARIES (cjserver pthread)
97
10- INSTALL (TARGETS cjsegment RUNTIME DESTINATION bin)
118INSTALL (TARGETS cjserver RUNTIME DESTINATION bin)
129
File renamed without changes.
File renamed without changes.
File renamed without changes.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments