迁移分支
This commit is contained in:
38
src/pDataManagement/CMakeLists.txt
Normal file
38
src/pDataManagement/CMakeLists.txt
Normal file
@@ -0,0 +1,38 @@
|
||||
#--------------------------------------------------------
|
||||
# The CMakeLists.txt for: pDataManagement
|
||||
# Author(s): Xiaobin Zeng
|
||||
#--------------------------------------------------------
|
||||
|
||||
SET(SRC
|
||||
DataManagement.cpp
|
||||
DataManagement_Info.cpp
|
||||
main.cpp
|
||||
)
|
||||
|
||||
FIND_LIBRARY(DUNE_LIB dune-core /usr/local/lib /usr/local/lib/DUNE)
|
||||
FIND_PATH(DUNE_INCLUDE DUNE/IMC.hpp /usr/local/include /usr/local/include/DUNE)
|
||||
include_directories(${DUNE_INCLUDE})
|
||||
|
||||
# include(FindProtobuf)
|
||||
# find_package(Protobuf REQUIRED)
|
||||
# include_directories(${Protobuf_INCLUDE_DIR})
|
||||
|
||||
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
|
||||
|
||||
#find_package (jsoncpp NO_MODULE REQUIRED)
|
||||
|
||||
include_directories(/usr/include/jsoncpp/)
|
||||
link_directories(/usr/local/lib/)
|
||||
|
||||
ADD_EXECUTABLE(pDataManagement ${SRC})
|
||||
TARGET_LINK_LIBRARIES(pDataManagement
|
||||
${MOOS_LIBRARIES}
|
||||
${CMAKE_DL_LIBS}
|
||||
${SYSTEM_LIBS}
|
||||
${DUNE_LIB}
|
||||
mbutil
|
||||
m
|
||||
pthread
|
||||
jsoncpp
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user