modify CMakeList.txt
This commit is contained in:
parent
1571dbc4ea
commit
525120783b
@ -8,6 +8,7 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -lrt -Wall -O2")
|
||||
AUX_SOURCE_DIRECTORY(. main)
|
||||
AUX_SOURCE_DIRECTORY(./index_sync index_sync)
|
||||
AUX_SOURCE_DIRECTORY(./utils utils)
|
||||
AUX_SOURCE_DIRECTORY(./query query)
|
||||
|
||||
LINK_DIRECTORIES(
|
||||
${PROJECT_SOURCE_DIR}/../../comm
|
||||
@ -15,7 +16,7 @@ ${PROJECT_SOURCE_DIR}/../../3rdlib/jsoncpp/lib
|
||||
${PROJECT_SOURCE_DIR}/../../comm/stat
|
||||
)
|
||||
|
||||
ADD_EXECUTABLE(index_read ${main} ${index_sync} ${utils})
|
||||
ADD_EXECUTABLE(index_read ${main} ${index_sync} ${utils} ${query})
|
||||
|
||||
target_include_directories(index_read PUBLIC
|
||||
../../3rdlib/jsoncpp/include
|
||||
|
Loading…
Reference in New Issue
Block a user