Commit aa596c56 authored by oscar's avatar oscar

提交更新

parent 22db92c5
cmake_minimum_required(VERSION 3.0.2)
project(test_map)
project(third_map)
SET(CMAKE_BUILD_TYPE "Debug")
#SET(CMAKE_BUILD_TYPE "Release")
......@@ -10,17 +10,25 @@ SET(CMAKE_CXX_FLAGS_RELEASE "$ENV{CXXFLAGS} -O3 -Wall")
include_directories(
${PROJECT_SOURCE_DIR}/
${PROJECT_SOURCE_DIR}/../include/
${PROJECT_SOURCE_DIR}/include/
${PROJECT_SOURCE_DIR}/src/
${PROJECT_SOURCE_DIR}/src/SDK/include/
)
add_library(odrManager SHARED IMPORTED)
set_target_properties(odrManager PROPERTIES IMPORTED_LOCATION ${PROJECT_SOURCE_DIR}/../dynamic/libOdrManager.so)
set_target_properties(odrManager PROPERTIES IMPORTED_LOCATION ${PROJECT_SOURCE_DIR}/src/SDK/lib/libOdrManager.so)
add_executable(${PROJECT_NAME}
add_library(${PROJ_NAME} SHARED
${PROJECT_SOURCE_DIR}/src/MapInterface.cpp
)
target_link_libraries(${PROJECT_NAME} odrManager)
add_executable(test_map
main.cpp
)
target_link_libraries(${PROJECT_NAME}
odrManager
${PROJ_NAME}
)
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment