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
b3e2e6cc
Commit
b3e2e6cc
authored
Apr 20, 2022
by
oscar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交arm的编译
parent
67cb1b4e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
7 deletions
+20
-7
CMakeLists.txt
CMakeLists.txt
+20
-7
No files found.
CMakeLists.txt
View file @
b3e2e6cc
...
...
@@ -10,19 +10,32 @@ SET(CMAKE_BUILD_TYPE "Debug")
SET
(
CMAKE_CXX_FLAGS_DEBUG
"$ENV{CXXFLAGS} -O0 -Wall -g -ggdb"
)
SET
(
CMAKE_CXX_FLAGS_RELEASE
"$ENV{CXXFLAGS} -O3 -Wall"
)
include_directories
(
${
PROJECT_SOURCE_DIR
}
/
${
PROJECT_SOURCE_DIR
}
/include/
${
PROJECT_SOURCE_DIR
}
/src/
${
PROJECT_SOURCE_DIR
}
/src/SDK/include/
)
if
(
USING_EXE
)
add_definitions
(
-D_DEBUG_API_
)
endif
()
add_library
(
odrManager SHARED IMPORTED
)
set_target_properties
(
odrManager PROPERTIES IMPORTED_LOCATION
${
PROJECT_SOURCE_DIR
}
/src/SDK/lib/libOdrManager.so
)
execute_process
(
COMMAND uname -mm
OUTPUT_VARIABLE platform_ret
)
if
(
${
platform_ret
}
MATCHES
"x86_64"
)
include_directories
(
${
PROJECT_SOURCE_DIR
}
/
${
PROJECT_SOURCE_DIR
}
/include/
${
PROJECT_SOURCE_DIR
}
/src/
${
PROJECT_SOURCE_DIR
}
/src/SDK/x86/include/
)
set_target_properties
(
odrManager PROPERTIES IMPORTED_LOCATION
${
PROJECT_SOURCE_DIR
}
/src/SDK/x86/lib/libOdrManager.so
)
else
()
include_directories
(
${
PROJECT_SOURCE_DIR
}
/
${
PROJECT_SOURCE_DIR
}
/include/
${
PROJECT_SOURCE_DIR
}
/src/
${
PROJECT_SOURCE_DIR
}
/src/SDK/arm/include/
)
set_target_properties
(
odrManager PROPERTIES IMPORTED_LOCATION
${
PROJECT_SOURCE_DIR
}
/src/SDK/arm/lib/arm64/libOdrManager.so
)
endif
()
add_library
(
${
PROJECT_NAME
}
SHARED
${
PROJECT_SOURCE_DIR
}
/src/MapInterface.cpp
...
...
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