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
8184e57d
Commit
8184e57d
authored
Jun 05, 2015
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix tests build (win,shared,world)
parent
39fdcf4d
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
11 deletions
+10
-11
OpenCVModule.cmake
cmake/OpenCVModule.cmake
+2
-6
CMakeLists.txt
modules/core/CMakeLists.txt
+4
-2
CMakeLists.txt
modules/hal/CMakeLists.txt
+0
-1
CMakeLists.txt
modules/world/CMakeLists.txt
+4
-2
No files found.
cmake/OpenCVModule.cmake
View file @
8184e57d
...
...
@@ -176,15 +176,11 @@ macro(ocv_add_module _name)
endif
()
endif
()
# add HAL as dependency
if
(
NOT
"
${
the_module
}
"
STREQUAL
"opencv_hal"
)
ocv_add_dependencies
(
${
the_module
}
opencv_hal
)
endif
()
# add self to the world dependencies
if
((
NOT DEFINED OPENCV_MODULE_IS_PART_OF_WORLD
AND NOT OPENCV_MODULE_
${
the_module
}
_CLASS STREQUAL
"BINDINGS"
AND NOT OPENCV_PROCESSING_EXTRA_MODULES
)
AND NOT OPENCV_PROCESSING_EXTRA_MODULES
AND
(
NOT BUILD_SHARED_LIBS OR NOT
"x
${
OPENCV_MODULE_TYPE
}
"
STREQUAL
"xSTATIC"
))
OR OPENCV_MODULE_IS_PART_OF_WORLD
)
set
(
OPENCV_MODULE_
${
the_module
}
_IS_PART_OF_WORLD ON CACHE INTERNAL
""
)
...
...
modules/core/CMakeLists.txt
View file @
8184e57d
set
(
the_description
"The Core Functionality"
)
ocv_add_module
(
core PRIVATE_REQUIRED
${
ZLIB_LIBRARIES
}
"
${
OPENCL_LIBRARIES
}
"
ocv_add_module
(
core
opencv_hal
PRIVATE_REQUIRED
${
ZLIB_LIBRARIES
}
"
${
OPENCL_LIBRARIES
}
"
OPTIONAL opencv_cudev
WRAP java python
)
WRAP java python
)
set
(
extra_libs
""
)
...
...
modules/hal/CMakeLists.txt
View file @
8184e57d
set
(
the_description
"The Hardware Acceleration Layer (HAL) module"
)
set
(
OPENCV_MODULE_TYPE STATIC
)
# set(OPENCV_MODULE_IS_PART_OF_WORLD FALSE)
if
(
UNIX
)
if
(
CMAKE_COMPILER_IS_GNUCXX OR CV_ICC
)
...
...
modules/world/CMakeLists.txt
View file @
8184e57d
...
...
@@ -35,8 +35,10 @@ set(headers_list "HEADERS")
set
(
sources_list
"SOURCES"
)
set
(
link_deps
""
)
foreach
(
m
${
OPENCV_MODULE_
${
the_module
}
_DEPS
}
)
set
(
headers_list
"
${
headers_list
}
;
${
OPENCV_MODULE_
${
m
}
_HEADERS
}
"
)
set
(
sources_list
"
${
sources_list
}
;
${
OPENCV_MODULE_
${
m
}
_SOURCES
}
"
)
if
(
OPENCV_MODULE_
${
m
}
_IS_PART_OF_WORLD
)
set
(
headers_list
"
${
headers_list
}
;
${
OPENCV_MODULE_
${
m
}
_HEADERS
}
"
)
set
(
sources_list
"
${
sources_list
}
;
${
OPENCV_MODULE_
${
m
}
_SOURCES
}
"
)
endif
()
set
(
link_deps
"
${
link_deps
}
;
${
OPENCV_MODULE_
${
m
}
_LINK_DEPS
}
"
)
endforeach
()
...
...
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