Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
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
submodule
opencv
Commits
e157d70d
Commit
e157d70d
authored
Mar 19, 2015
by
Vadim Pisarevsky
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3837 from mshabunin:abi-compliance
parents
e12a04ac
9fbc92aa
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
73 additions
and
6 deletions
+73
-6
CMakeLists.txt
CMakeLists.txt
+4
-0
OpenCVGenABI.cmake
cmake/OpenCVGenABI.cmake
+29
-0
opencv_abi.xml.in
cmake/templates/opencv_abi.xml.in
+40
-0
cvaux.h
include/opencv/cvaux.h
+0
-6
No files found.
CMakeLists.txt
View file @
e157d70d
...
...
@@ -244,6 +244,7 @@ OCV_OPTION(ENABLE_NOISY_WARNINGS "Show all warnings even if they are too no
OCV_OPTION
(
OPENCV_WARNINGS_ARE_ERRORS
"Treat warnings as errors"
OFF
)
OCV_OPTION
(
ANDROID_EXAMPLES_WITH_LIBS
"Build binaries of Android examples with native libraries"
OFF IF ANDROID
)
OCV_OPTION
(
ENABLE_IMPL_COLLECTION
"Collect implementation data on function call"
OFF
)
OCV_OPTION
(
GENERATE_ABI_DESCRIPTOR
"Generate XML file for abi_compliance_checker tool"
OFF IF UNIX
)
if
(
ENABLE_IMPL_COLLECTION
)
add_definitions
(
-DCV_COLLECT_IMPL_DATA
)
...
...
@@ -639,6 +640,9 @@ include(cmake/OpenCVGenConfig.cmake)
# Generate Info.plist for the IOS framework
include
(
cmake/OpenCVGenInfoPlist.cmake
)
# Generate ABI descriptor
include
(
cmake/OpenCVGenABI.cmake
)
# Generate environment setup file
if
(
INSTALL_TESTS AND OPENCV_TEST_DATA_PATH
)
if
(
ANDROID
)
...
...
cmake/OpenCVGenABI.cmake
0 → 100644
View file @
e157d70d
if
(
NOT GENERATE_ABI_DESCRIPTOR
)
return
()
endif
()
set
(
filename
"opencv_abi.xml"
)
set
(
path1
"
${
CMAKE_BINARY_DIR
}
/
${
filename
}
"
)
set
(
modules
"
${
OPENCV_MODULES_PUBLIC
}
"
)
ocv_list_filterout
(
modules
"opencv_ts"
)
message
(
STATUS
"Generating ABI compliance checker configuration:
${
filename
}
"
)
if
(
OPENCV_VCSVERSION AND NOT OPENCV_VCSVERSION STREQUAL
"unknown"
)
set
(
OPENCV_ABI_VERSION
"
${
OPENCV_VCSVERSION
}
"
)
else
()
set
(
OPENCV_ABI_VERSION
"
${
OPENCV_VERSION
}
"
)
endif
()
# Headers
set
(
OPENCV_ABI_HEADERS
"{RELPATH}/
${
OPENCV_INCLUDE_INSTALL_PATH
}
"
)
# Libraries
set
(
OPENCV_ABI_LIBRARIES
"{RELPATH}/
${
OPENCV_LIB_INSTALL_PATH
}
"
)
# Options
set
(
OPENCV_ABI_GCC_OPTIONS
"
${
CMAKE_CXX_FLAGS
}
${
CMAKE_CXX_FLAGS_RELEASE
}
"
)
string
(
REGEX REPLACE
"([^ ]) +([^ ])"
"
\\
1
\\
n
\\
2"
OPENCV_ABI_GCC_OPTIONS
"
${
OPENCV_ABI_GCC_OPTIONS
}
"
)
configure_file
(
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/cmake/templates/opencv_abi.xml.in"
"
${
path1
}
"
)
cmake/templates/opencv_abi.xml.in
0 → 100644
View file @
e157d70d
<?xml version="1.0" encoding="utf-8"?>
<!--
This file is auto-generated
-->
<descriptor>
<version>
@OPENCV_ABI_VERSION@
</version>
<headers>
@OPENCV_ABI_HEADERS@
</headers>
<libs>
@OPENCV_ABI_LIBRARIES@
</libs>
<skip_headers>
opencv2/core/cuda*
opencv2/core/private*
opencv/cxeigen.hpp
opencv2/core/eigen.hpp
opencv2/flann/hdf5.h
opencv2/imgcodecs/ios.h
opencv2/videoio/cap_ios.h
opencv2/ts.hpp
opencv2/ts/*
opencv2/xobjdetect/private.hpp
</skip_headers>
<gcc_options>
@OPENCV_ABI_GCC_OPTIONS@
</gcc_options>
</descriptor>
include/opencv/cvaux.h
View file @
e157d70d
...
...
@@ -51,12 +51,6 @@
#include "opencv2/photo/photo_c.h"
#include "opencv2/video/tracking_c.h"
#include "opencv2/objdetect/objdetect_c.h"
#include "opencv2/contrib/compat.hpp"
#include "opencv2/legacy.hpp"
#include "opencv2/legacy/compat.hpp"
#include "opencv2/legacy/blobtrack.hpp"
#endif
...
...
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