Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
thirdparty_map
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
oscar
thirdparty_map
Commits
aa596c56
Commit
aa596c56
authored
Mar 23, 2022
by
oscar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交更新
parent
22db92c5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
5 deletions
+14
-5
CMakeLists.txt
CMakeLists.txt
+14
-5
No files found.
CMakeLists.txt
View file @
aa596c56
cmake_minimum_required
(
VERSION 3.0.2
)
project
(
t
est
_map
)
project
(
t
hird
_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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment