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
48c9c24d
Commit
48c9c24d
authored
Dec 18, 2014
by
Vladislav Vinogradov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
disable -Wshadow warning for CUDA modules:
it is generated by CUDA headers and we can't fix it
parent
79f77045
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
10 additions
and
10 deletions
+10
-10
CMakeLists.txt
modules/cudaarithm/CMakeLists.txt
+1
-1
CMakeLists.txt
modules/cudabgsegm/CMakeLists.txt
+1
-1
CMakeLists.txt
modules/cudacodec/CMakeLists.txt
+1
-1
CMakeLists.txt
modules/cudafeatures2d/CMakeLists.txt
+1
-1
CMakeLists.txt
modules/cudafilters/CMakeLists.txt
+1
-1
CMakeLists.txt
modules/cudalegacy/CMakeLists.txt
+1
-1
CMakeLists.txt
modules/cudaoptflow/CMakeLists.txt
+1
-1
CMakeLists.txt
modules/cudastereo/CMakeLists.txt
+1
-1
CMakeLists.txt
modules/cudawarping/CMakeLists.txt
+1
-1
CMakeLists.txt
modules/cudev/CMakeLists.txt
+1
-1
No files found.
modules/cudaarithm/CMakeLists.txt
View file @
48c9c24d
...
...
@@ -4,7 +4,7 @@ endif()
set
(
the_description
"CUDA-accelerated Operations on Matrices"
)
ocv_warnings_disable
(
CMAKE_CXX_FLAGS /wd4127 /wd4324 /wd4512 -Wundef -Wmissing-declarations
)
ocv_warnings_disable
(
CMAKE_CXX_FLAGS /wd4127 /wd4324 /wd4512 -Wundef -Wmissing-declarations
-Wshadow
)
ocv_add_module
(
cudaarithm opencv_core OPTIONAL opencv_cudev
)
...
...
modules/cudabgsegm/CMakeLists.txt
View file @
48c9c24d
...
...
@@ -4,6 +4,6 @@ endif()
set
(
the_description
"CUDA-accelerated Background Segmentation"
)
ocv_warnings_disable
(
CMAKE_CXX_FLAGS /wd4127 /wd4324 /wd4512 -Wundef -Wmissing-declarations
)
ocv_warnings_disable
(
CMAKE_CXX_FLAGS /wd4127 /wd4324 /wd4512 -Wundef -Wmissing-declarations
-Wshadow
)
ocv_define_module
(
cudabgsegm opencv_video OPTIONAL opencv_imgproc opencv_cudaarithm opencv_cudafilters opencv_cudaimgproc
)
modules/cudacodec/CMakeLists.txt
View file @
48c9c24d
...
...
@@ -4,7 +4,7 @@ endif()
set
(
the_description
"CUDA-accelerated Video Encoding/Decoding"
)
ocv_warnings_disable
(
CMAKE_CXX_FLAGS /wd4127 /wd4324 /wd4512 -Wundef
)
ocv_warnings_disable
(
CMAKE_CXX_FLAGS /wd4127 /wd4324 /wd4512 -Wundef
-Wshadow
)
ocv_add_module
(
cudacodec opencv_core opencv_videoio OPTIONAL opencv_cudev
)
...
...
modules/cudafeatures2d/CMakeLists.txt
View file @
48c9c24d
...
...
@@ -4,6 +4,6 @@ endif()
set
(
the_description
"CUDA-accelerated Feature Detection and Description"
)
ocv_warnings_disable
(
CMAKE_CXX_FLAGS /wd4127 /wd4100 /wd4324 /wd4512 /wd4515 -Wundef -Wmissing-declarations -Wshadow -Wunused-parameter
)
ocv_warnings_disable
(
CMAKE_CXX_FLAGS /wd4127 /wd4100 /wd4324 /wd4512 /wd4515 -Wundef -Wmissing-declarations -Wshadow -Wunused-parameter
-Wshadow
)
ocv_define_module
(
cudafeatures2d opencv_features2d opencv_cudafilters opencv_cudawarping
)
modules/cudafilters/CMakeLists.txt
View file @
48c9c24d
...
...
@@ -4,6 +4,6 @@ endif()
set
(
the_description
"CUDA-accelerated Image Filtering"
)
ocv_warnings_disable
(
CMAKE_CXX_FLAGS /wd4127 /wd4324 /wd4512 -Wundef -Wmissing-declarations
)
ocv_warnings_disable
(
CMAKE_CXX_FLAGS /wd4127 /wd4324 /wd4512 -Wundef -Wmissing-declarations
-Wshadow
)
ocv_define_module
(
cudafilters opencv_imgproc opencv_cudaarithm
)
modules/cudalegacy/CMakeLists.txt
View file @
48c9c24d
...
...
@@ -4,6 +4,6 @@ endif()
set
(
the_description
"CUDA-accelerated Computer Vision (legacy)"
)
ocv_warnings_disable
(
CMAKE_CXX_FLAGS /wd4127 /wd4130 /wd4324 /wd4512 /wd4310 -Wundef -Wmissing-declarations -Wuninitialized
)
ocv_warnings_disable
(
CMAKE_CXX_FLAGS /wd4127 /wd4130 /wd4324 /wd4512 /wd4310 -Wundef -Wmissing-declarations -Wuninitialized
-Wshadow
)
ocv_define_module
(
cudalegacy opencv_core OPTIONAL opencv_objdetect
)
modules/cudaoptflow/CMakeLists.txt
View file @
48c9c24d
...
...
@@ -4,6 +4,6 @@ endif()
set
(
the_description
"CUDA-accelerated Optical Flow"
)
ocv_warnings_disable
(
CMAKE_CXX_FLAGS /wd4127 /wd4324 /wd4512 -Wundef -Wmissing-declarations
)
ocv_warnings_disable
(
CMAKE_CXX_FLAGS /wd4127 /wd4324 /wd4512 -Wundef -Wmissing-declarations
-Wshadow
)
ocv_define_module
(
cudaoptflow opencv_video opencv_cudaarithm opencv_cudawarping opencv_cudaimgproc OPTIONAL opencv_cudalegacy
)
modules/cudastereo/CMakeLists.txt
View file @
48c9c24d
...
...
@@ -4,6 +4,6 @@ endif()
set
(
the_description
"CUDA-accelerated Stereo Correspondence"
)
ocv_warnings_disable
(
CMAKE_CXX_FLAGS /wd4127 /wd4324 /wd4512 -Wundef -Wmissing-declarations
)
ocv_warnings_disable
(
CMAKE_CXX_FLAGS /wd4127 /wd4324 /wd4512 -Wundef -Wmissing-declarations
-Wshadow
)
ocv_define_module
(
cudastereo opencv_calib3d
)
modules/cudawarping/CMakeLists.txt
View file @
48c9c24d
...
...
@@ -4,6 +4,6 @@ endif()
set
(
the_description
"CUDA-accelerated Image Warping"
)
ocv_warnings_disable
(
CMAKE_CXX_FLAGS /wd4127 /wd4324 /wd4512 -Wundef -Wmissing-declarations
)
ocv_warnings_disable
(
CMAKE_CXX_FLAGS /wd4127 /wd4324 /wd4512 -Wundef -Wmissing-declarations
-Wshadow
)
ocv_define_module
(
cudawarping opencv_imgproc OPTIONAL opencv_cudalegacy
)
modules/cudev/CMakeLists.txt
View file @
48c9c24d
...
...
@@ -4,7 +4,7 @@ endif()
set
(
the_description
"CUDA device layer"
)
ocv_warnings_disable
(
CMAKE_CXX_FLAGS /wd4189 /wd4505 -Wundef -Wmissing-declarations -Wunused-function -Wunused-variable -Wenum-compare
)
ocv_warnings_disable
(
CMAKE_CXX_FLAGS /wd4189 /wd4505 -Wundef -Wmissing-declarations -Wunused-function -Wunused-variable -Wenum-compare
-Wshadow
)
ocv_add_module
(
cudev
)
...
...
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