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
63397e82
Commit
63397e82
authored
Oct 20, 2012
by
Andrey Kamaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup CMakeLists.txt of ocl module
parent
ecb707ca
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
17 deletions
+11
-17
CMakeLists.txt
modules/ocl/CMakeLists.txt
+7
-11
precomp.hpp
modules/ocl/src/precomp.hpp
+4
-6
No files found.
modules/ocl/CMakeLists.txt
View file @
63397e82
...
...
@@ -4,7 +4,7 @@ if(NOT HAVE_OPENCL)
endif
()
set
(
the_description
"OpenCL-accelerated Computer Vision"
)
ocv_add_module
(
ocl opencv_core opencv_imgproc opencv_
calib3d opencv_objdetect opencv_video opencv_nonfree opencv_ts
)
ocv_add_module
(
ocl opencv_core opencv_imgproc opencv_
features2d opencv_objdetect opencv_video
)
ocv_module_include_directories
()
...
...
@@ -27,7 +27,7 @@ source_group("Src\\Host" FILES ${lib_srcs} ${lib_int_hdrs} ${kernels_cpp})
if
(
HAVE_OPENCL
)
set
(
ocl_link_libs
${
OPENCL_LIBRARIES
}
)
if
(
OPENCL_INCLUDE_DIR
)
ocv_include_directories
(
${
OPENCL_INCLUDE_DIR
}
)
ocv_include_directories
(
${
OPENCL_INCLUDE_DIR
}
)
endif
()
if
(
HAVE_CLAMDFFT
)
set
(
ocl_link_libs
${
ocl_link_libs
}
${
CLAMDFFT_LIBRARIES
}
)
...
...
@@ -39,17 +39,12 @@ if (HAVE_OPENCL)
endif
()
endif
()
ocv_set_module_sources
(
HEADERS
${
lib_hdrs
}
SOURCES
${
lib_int_hdrs
}
${
lib_srcs
}
)
set
(
OPENCV_MODULE_opencv_ocl_SOURCES
${
OPENCV_MODULE_opencv_ocl_SOURCES
}
${
kernels_cpp
}
)
ocv_set_module_sources
(
HEADERS
${
lib_hdrs
}
SOURCES
${
lib_int_hdrs
}
${
lib_srcs
}
${
kernels_cpp
}
)
ocv_create_module
(
${
ocl_link_libs
}
)
install
(
FILES
${
lib_hdrs
}
DESTINATION include/opencv2/
${
name
}
COMPONENT main
)
DESTINATION include/opencv2/
${
name
}
COMPONENT main
)
ocv_add_precompiled_headers
(
${
the_module
}
)
...
...
@@ -61,6 +56,7 @@ file(GLOB test_hdrs "test/*.hpp" "test/*.h")
ocv_add_accuracy_tests
(
FILES
"Include"
${
test_hdrs
}
FILES
"Src"
${
test_srcs
}
)
################################################################################################################
################################ OpenCL Module Performance ##################################################
################################################################################################################
...
...
@@ -68,4 +64,4 @@ file(GLOB perf_srcs "perf/*.cpp")
file
(
GLOB perf_hdrs
"perf/*.hpp"
"perf/*.h"
)
ocv_add_perf_tests
(
FILES
"Include"
${
perf_hdrs
}
FILES
"Src"
${
perf_srcs
}
)
FILES
"Src"
${
perf_srcs
}
)
modules/ocl/src/precomp.hpp
View file @
63397e82
...
...
@@ -63,16 +63,14 @@
#include <exception>
#include <stdio.h>
#include "opencv2/ocl/ocl.hpp"
#include "opencv2/imgproc/imgproc.hpp"
#include "opencv2/objdetect/objdetect.hpp"
#include "opencv2/imgproc/imgproc.hpp"
#include "opencv2/imgproc/imgproc_c.h"
#include "opencv2/core/core_c.h"
//#include "opencv2/highgui/highgui.hpp"
#include "opencv2/objdetect/objdetect.hpp"
#include "opencv2/ocl/ocl.hpp"
#include "opencv2/core/internal.hpp"
//#include "opencv2/highgui/highgui.hpp"
#define __ATI__
...
...
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