Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv_contrib
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_contrib
Commits
db4250af
Commit
db4250af
authored
Dec 15, 2016
by
Alexander Alekhin
Committed by
GitHub
Dec 15, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #900 from alalek:icc
Build with ICC
parents
3d6f95ab
1da7edcd
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
4 deletions
+15
-4
CMakeLists.txt
modules/dnn/3rdparty/protobuf/CMakeLists.txt
+5
-0
OpenCVFindLibProtobuf.cmake
modules/dnn/cmake/OpenCVFindLibProtobuf.cmake
+6
-4
CMakeLists.txt
modules/saliency/CMakeLists.txt
+4
-0
No files found.
modules/dnn/3rdparty/protobuf/CMakeLists.txt
View file @
db4250af
...
...
@@ -22,6 +22,11 @@ else()
-Wunused-function -Wunused-const-variable
)
endif
()
if
(
CV_ICC
)
ocv_warnings_disable
(
CMAKE_CXX_FLAGS
-wd265 -wd858 -wd873 -wd2196
)
endif
()
# Easier to support different versions of protobufs
function
(
append_if_exist OUTPUT_LIST
)
...
...
modules/dnn/cmake/OpenCVFindLibProtobuf.cmake
View file @
db4250af
...
...
@@ -47,8 +47,10 @@ endif()
add_definitions
(
-DHAVE_PROTOBUF=1
)
#supress warnings in autogenerated caffe.pb.* files
ocv_warnings_disable
(
CMAKE_CXX_FLAGS -Wunused-parameter -Wundef -Wignored-qualifiers -Wno-enum-compare
-Wdeprecated-declarations
)
ocv_warnings_disable
(
CMAKE_CXX_FLAGS /wd4125 /wd4267 /wd4127 /wd4244 /wd4512 /wd4702
/wd4456 /wd4510 /wd4610 /wd4800
ocv_warnings_disable
(
CMAKE_CXX_FLAGS
-Wunused-parameter -Wundef -Wignored-qualifiers -Wno-enum-compare
-Wdeprecated-declarations
/wd4125 /wd4267 /wd4127 /wd4244 /wd4512 /wd4702
/wd4456 /wd4510 /wd4610 /wd4800
-wd858 -wd2196
)
modules/saliency/CMakeLists.txt
View file @
db4250af
if
(
CV_ICC AND NOT MSVC
)
ocv_module_disable
(
saliency
)
endif
()
set
(
the_description
"Saliency API"
)
set
(
OPENCV_MODULE_IS_PART_OF_WORLD OFF
)
...
...
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